public static final class AutoAccept.Builder extends GeneratedMessageV3.Builder<AutoAccept.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAutoAcceptProjects(Iterable<String> values)
public AutoAccept.Builder addAllAutoAcceptProjects(Iterable<String> values)
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;
Parameter |
Name |
Description |
values |
Iterable<String>
The autoAcceptProjects to add.
|
addAutoAcceptProjects(String value)
public AutoAccept.Builder addAutoAcceptProjects(String value)
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;
Parameter |
Name |
Description |
value |
String
The autoAcceptProjects to add.
|
addAutoAcceptProjectsBytes(ByteString value)
public AutoAccept.Builder addAutoAcceptProjectsBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes of the autoAcceptProjects to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoAccept.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoAccept build()
buildPartial()
public AutoAccept buildPartial()
clear()
public AutoAccept.Builder clear()
Overrides
clearAutoAcceptProjects()
public AutoAccept.Builder clearAutoAcceptProjects()
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;
clearField(Descriptors.FieldDescriptor field)
public AutoAccept.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoAccept.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AutoAccept.Builder clone()
Overrides
getAutoAcceptProjects(int index)
public String getAutoAcceptProjects(int index)
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;
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)
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;
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()
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;
Returns |
Type |
Description |
int |
The count of autoAcceptProjects.
|
getAutoAcceptProjectsList()
public ProtocolStringList getAutoAcceptProjectsList()
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;
getDefaultInstanceForType()
public AutoAccept getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AutoAccept other)
public AutoAccept.Builder mergeFrom(AutoAccept other)
public AutoAccept.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoAccept.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoAccept.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoAcceptProjects(int index, String value)
public AutoAccept.Builder setAutoAcceptProjects(int index, String value)
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;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The autoAcceptProjects to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AutoAccept.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoAccept.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoAccept.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides