Class AutoAccept (1.75.0)
public final class AutoAccept extends GeneratedMessageV3 implements AutoAcceptOrBuilder
The auto-accept setting for a group controls whether
proposed spokes are automatically attached to the hub. If auto-accept is
enabled, the spoke immediately is attached to the hub and becomes part of the
group. In this case, the new spoke is in the ACTIVE state.
If auto-accept is disabled, the spoke goes to the INACTIVE
state, and it must be reviewed and accepted by a hub
administrator.
Protobuf type google.cloud.networkconnectivity.v1.AutoAccept
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTO_ACCEPT_PROJECTS_FIELD_NUMBER
public static final int AUTO_ACCEPT_PROJECTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AutoAccept getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutoAccept.Builder newBuilder()
newBuilder(AutoAccept prototype)
public static AutoAccept.Builder newBuilder(AutoAccept prototype)
public static AutoAccept parseDelimitedFrom(InputStream input)
public static AutoAccept parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutoAccept parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoAccept parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutoAccept parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoAccept parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoAccept parseFrom(CodedInputStream input)
public static AutoAccept parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoAccept parseFrom(InputStream input)
public static AutoAccept parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutoAccept parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoAccept parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutoAccept> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAutoAcceptProjects(int index)
public String getAutoAcceptProjects(int index)
Optional. A list of project ids or project numbers for which you want
to enable auto-accept. The auto-accept setting is applied to
spokes being created or updated in these projects.
repeated string auto_accept_projects = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The autoAcceptProjects at the given index.
|
getAutoAcceptProjectsBytes(int index)
public ByteString getAutoAcceptProjectsBytes(int index)
Optional. A list of project ids or project numbers for which you want
to enable auto-accept. The auto-accept setting is applied to
spokes being created or updated in these projects.
repeated string auto_accept_projects = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the autoAcceptProjects at the given index.
|
getAutoAcceptProjectsCount()
public int getAutoAcceptProjectsCount()
Optional. A list of project ids or project numbers for which you want
to enable auto-accept. The auto-accept setting is applied to
spokes being created or updated in these projects.
repeated string auto_accept_projects = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of autoAcceptProjects.
|
getAutoAcceptProjectsList()
public ProtocolStringList getAutoAcceptProjectsList()
Optional. A list of project ids or project numbers for which you want
to enable auto-accept. The auto-accept setting is applied to
spokes being created or updated in these projects.
repeated string auto_accept_projects = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AutoAccept getDefaultInstanceForType()
getParserForType()
public Parser<AutoAccept> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutoAccept.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoAccept.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutoAccept.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]