Interface InstanceWithNamedPortsOrBuilder (1.11.0)

public interface InstanceWithNamedPortsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

[Output Only] The URL of the instance.

optional string instance = 18257045;

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

[Output Only] The URL of the instance.

optional string instance = 18257045;

Returns
TypeDescription
ByteString

The bytes for instance.

getNamedPorts(int index)

public abstract NamedPort getNamedPorts(int index)

[Output Only] The named ports that belong to this instance group.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NamedPort

getNamedPortsCount()

public abstract int getNamedPortsCount()

[Output Only] The named ports that belong to this instance group.

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

Returns
TypeDescription
int

getNamedPortsList()

public abstract List<NamedPort> getNamedPortsList()

[Output Only] The named ports that belong to 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)

[Output Only] The named ports that belong to 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()

[Output Only] The named ports that belong to this instance group.

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

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder>

getStatus()

public abstract String getStatus()

[Output Only] The status of the instance. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

[Output Only] The status of the instance. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

hasInstance()

public abstract boolean hasInstance()

[Output Only] The URL of the instance.

optional string instance = 18257045;

Returns
TypeDescription
boolean

Whether the instance field is set.

hasStatus()

public abstract boolean hasStatus()

[Output Only] The status of the instance. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.