public static final class InstanceGroupsSetNamedPortsRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupsSetNamedPortsRequest.Builder> implements InstanceGroupsSetNamedPortsRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllNamedPorts(Iterable<? extends NamedPort> values)
public InstanceGroupsSetNamedPortsRequest.Builder addAllNamedPorts(Iterable<? extends NamedPort> values)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.NamedPort>
|
addNamedPorts(NamedPort value)
public InstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(NamedPort value)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
addNamedPorts(NamedPort.Builder builderForValue)
public InstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(NamedPort.Builder builderForValue)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
addNamedPorts(int index, NamedPort value)
public InstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(int index, NamedPort value)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
addNamedPorts(int index, NamedPort.Builder builderForValue)
public InstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(int index, NamedPort.Builder builderForValue)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
addNamedPortsBuilder()
public NamedPort.Builder addNamedPortsBuilder()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
addNamedPortsBuilder(int index)
public NamedPort.Builder addNamedPortsBuilder(int index)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsSetNamedPortsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceGroupsSetNamedPortsRequest build()
buildPartial()
public InstanceGroupsSetNamedPortsRequest buildPartial()
clear()
public InstanceGroupsSetNamedPortsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupsSetNamedPortsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFingerprint()
public InstanceGroupsSetNamedPortsRequest.Builder clearFingerprint()
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
clearNamedPorts()
public InstanceGroupsSetNamedPortsRequest.Builder clearNamedPorts()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupsSetNamedPortsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceGroupsSetNamedPortsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceGroupsSetNamedPortsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFingerprint()
public String getFingerprint()
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
Returns |
---|
Type | Description |
String | The fingerprint.
|
getFingerprintBytes()
public ByteString getFingerprintBytes()
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
Returns |
---|
Type | Description |
ByteString | The bytes for fingerprint.
|
getNamedPorts(int index)
public NamedPort getNamedPorts(int index)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
index | int
|
getNamedPortsBuilder(int index)
public NamedPort.Builder getNamedPortsBuilder(int index)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
index | int
|
getNamedPortsBuilderList()
public List<NamedPort.Builder> getNamedPortsBuilderList()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
getNamedPortsCount()
public int getNamedPortsCount()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Returns |
---|
Type | Description |
int | |
getNamedPortsList()
public List<NamedPort> getNamedPortsList()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
getNamedPortsOrBuilder(int index)
public NamedPortOrBuilder getNamedPortsOrBuilder(int index)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
index | int
|
getNamedPortsOrBuilderList()
public List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder> | |
hasFingerprint()
public boolean hasFingerprint()
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
Returns |
---|
Type | Description |
boolean | Whether the fingerprint field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceGroupsSetNamedPortsRequest other)
public InstanceGroupsSetNamedPortsRequest.Builder mergeFrom(InstanceGroupsSetNamedPortsRequest other)
public InstanceGroupsSetNamedPortsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceGroupsSetNamedPortsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsSetNamedPortsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNamedPorts(int index)
public InstanceGroupsSetNamedPortsRequest.Builder removeNamedPorts(int index)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsSetNamedPortsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFingerprint(String value)
public InstanceGroupsSetNamedPortsRequest.Builder setFingerprint(String value)
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
Parameter |
---|
Name | Description |
value | String
The fingerprint to set.
|
setFingerprintBytes(ByteString value)
public InstanceGroupsSetNamedPortsRequest.Builder setFingerprintBytes(ByteString value)
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.
optional string fingerprint = 234678500;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for fingerprint to set.
|
setNamedPorts(int index, NamedPort value)
public InstanceGroupsSetNamedPortsRequest.Builder setNamedPorts(int index, NamedPort value)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
setNamedPorts(int index, NamedPort.Builder builderForValue)
public InstanceGroupsSetNamedPortsRequest.Builder setNamedPorts(int index, NamedPort.Builder builderForValue)
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupsSetNamedPortsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsSetNamedPortsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides