Package com.google.cloud.compute.v1
Interface InstanceWithNamedPortsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceWithNamedPorts,InstanceWithNamedPorts.Builder
public interface InstanceWithNamedPortsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInstance()[Output Only] The URL of the instance.com.google.protobuf.ByteStringgetInstanceBytes()[Output Only] The URL of the instance.NamedPortgetNamedPorts(int index)[Output Only] The named ports that belong to this instance group.intgetNamedPortsCount()[Output Only] The named ports that belong to this instance group.List<NamedPort>getNamedPortsList()[Output Only] The named ports that belong to this instance group.NamedPortOrBuildergetNamedPortsOrBuilder(int index)[Output Only] The named ports that belong to this instance group.List<? extends NamedPortOrBuilder>getNamedPortsOrBuilderList()[Output Only] The named ports that belong to this instance group.StringgetStatus()[Output Only] The status of the instance.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of the instance.booleanhasInstance()[Output Only] The URL of the instance.booleanhasStatus()[Output Only] The status of the instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstance
boolean hasInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
[Output Only] The URL of the instance.
optional string instance = 18257045;- Returns:
- The bytes for instance.
-
getNamedPortsList
List<NamedPort> getNamedPortsList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPorts
NamedPort getNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsCount
int getNamedPortsCount()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsOrBuilderList
List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsOrBuilder
NamedPortOrBuilder getNamedPortsOrBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
hasStatus
boolean hasStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
-