Interface InstanceGroupsSetNamedPortsRequestOrBuilder (1.38.0)

public interface InstanceGroupsSetNamedPortsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFingerprint()

public abstract 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
TypeDescription
String

The fingerprint.

getFingerprintBytes()

public abstract 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
TypeDescription
ByteString

The bytes for fingerprint.

getNamedPorts(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
NamedPort

getNamedPortsCount()

public abstract int getNamedPortsCount()

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

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

Returns
TypeDescription
int

getNamedPortsList()

public abstract List<NamedPort> getNamedPortsList()

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

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

Returns
TypeDescription
List<NamedPort>

getNamedPortsOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
NamedPortOrBuilder

getNamedPortsOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder>

hasFingerprint()

public abstract 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
TypeDescription
boolean

Whether the fingerprint field is set.