public interface InstanceWithNamedPortsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInstance()
public abstract String getInstance()Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public abstract ByteString getInstanceBytes()Output only. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. |