Interface InstanceWithNamedPortsOrBuilder (1.64.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
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

[Output Only] The URL of the instance.

optional string instance = 18257045;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for status.

hasInstance()

public abstract boolean hasInstance()

[Output Only] The URL of the instance.

optional string instance = 18257045;

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

Whether the status field is set.