Class RegionInstanceGroupsSetNamedPortsRequest.Builder (1.57.0)

public static final class RegionInstanceGroupsSetNamedPortsRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupsSetNamedPortsRequest.Builder> implements RegionInstanceGroupsSetNamedPortsRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsSetNamedPortsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNamedPorts(Iterable<? extends NamedPort> values)

public RegionInstanceGroupsSetNamedPortsRequest.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>
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

addNamedPorts(NamedPort value)

public RegionInstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(NamedPort value)

The list of named ports to set for this instance group.

repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;

Parameter
Name Description
value NamedPort
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

addNamedPorts(NamedPort.Builder builderForValue)

public RegionInstanceGroupsSetNamedPortsRequest.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;

Parameter
Name Description
builderForValue NamedPort.Builder
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

addNamedPorts(int index, NamedPort value)

public RegionInstanceGroupsSetNamedPortsRequest.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;

Parameters
Name Description
index int
value NamedPort
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

addNamedPorts(int index, NamedPort.Builder builderForValue)

public RegionInstanceGroupsSetNamedPortsRequest.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;

Parameters
Name Description
index int
builderForValue NamedPort.Builder
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

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;

Returns
Type Description
NamedPort.Builder

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
Returns
Type Description
NamedPort.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsSetNamedPortsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

build()

public RegionInstanceGroupsSetNamedPortsRequest build()
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest

buildPartial()

public RegionInstanceGroupsSetNamedPortsRequest buildPartial()
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest

clear()

public RegionInstanceGroupsSetNamedPortsRequest.Builder clear()
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupsSetNamedPortsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

clearFingerprint()

public RegionInstanceGroupsSetNamedPortsRequest.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.

optional string fingerprint = 234678500;

Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

This builder for chaining.

clearNamedPorts()

public RegionInstanceGroupsSetNamedPortsRequest.Builder clearNamedPorts()

The list of named ports to set for this instance group.

repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;

Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionInstanceGroupsSetNamedPortsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

clone()

public RegionInstanceGroupsSetNamedPortsRequest.Builder clone()
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

getDefaultInstanceForType()

public RegionInstanceGroupsSetNamedPortsRequest getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

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
Returns
Type Description
NamedPort

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
Returns
Type Description
NamedPort.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<NamedPort>

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
Returns
Type Description
NamedPortOrBuilder

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.

optional string fingerprint = 234678500;

Returns
Type Description
boolean

Whether the fingerprint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionInstanceGroupsSetNamedPortsRequest other)

public RegionInstanceGroupsSetNamedPortsRequest.Builder mergeFrom(RegionInstanceGroupsSetNamedPortsRequest other)
Parameter
Name Description
other RegionInstanceGroupsSetNamedPortsRequest
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionInstanceGroupsSetNamedPortsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RegionInstanceGroupsSetNamedPortsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsSetNamedPortsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

removeNamedPorts(int index)

public RegionInstanceGroupsSetNamedPortsRequest.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
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsSetNamedPortsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

setFingerprint(String value)

public RegionInstanceGroupsSetNamedPortsRequest.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.

optional string fingerprint = 234678500;

Parameter
Name Description
value String

The fingerprint to set.

Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

This builder for chaining.

setFingerprintBytes(ByteString value)

public RegionInstanceGroupsSetNamedPortsRequest.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.

optional string fingerprint = 234678500;

Parameter
Name Description
value ByteString

The bytes for fingerprint to set.

Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

This builder for chaining.

setNamedPorts(int index, NamedPort value)

public RegionInstanceGroupsSetNamedPortsRequest.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;

Parameters
Name Description
index int
value NamedPort
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

setNamedPorts(int index, NamedPort.Builder builderForValue)

public RegionInstanceGroupsSetNamedPortsRequest.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;

Parameters
Name Description
index int
builderForValue NamedPort.Builder
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RegionInstanceGroupsSetNamedPortsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsSetNamedPortsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupsSetNamedPortsRequest.Builder
Overrides