Class InstanceWithNamedPorts

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstanceWithNamedPorts
All Implemented Interfaces:
InstanceWithNamedPortsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InstanceWithNamedPorts extends com.google.protobuf.GeneratedMessage implements InstanceWithNamedPortsOrBuilder
 
Protobuf type google.cloud.compute.v1.InstanceWithNamedPorts
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasInstance

      public boolean hasInstance()
       Output only. [Output Only] The URL of the instance.
       
      optional string instance = 18257045;
      Specified by:
      hasInstance in interface InstanceWithNamedPortsOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Output only. [Output Only] The URL of the instance.
       
      optional string instance = 18257045;
      Specified by:
      getInstance in interface InstanceWithNamedPortsOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Output only. [Output Only] The URL of the instance.
       
      optional string instance = 18257045;
      Specified by:
      getInstanceBytes in interface InstanceWithNamedPortsOrBuilder
      Returns:
      The bytes for instance.
    • getNamedPortsList

      public 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;
      Specified by:
      getNamedPortsList in interface InstanceWithNamedPortsOrBuilder
    • getNamedPortsOrBuilderList

      public 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;
      Specified by:
      getNamedPortsOrBuilderList in interface InstanceWithNamedPortsOrBuilder
    • getNamedPortsCount

      public int getNamedPortsCount()
       Output only. [Output Only] The named ports that belong to this instance group.
       
      repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
      Specified by:
      getNamedPortsCount in interface InstanceWithNamedPortsOrBuilder
    • getNamedPorts

      public 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;
      Specified by:
      getNamedPorts in interface InstanceWithNamedPortsOrBuilder
    • getNamedPortsOrBuilder

      public 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;
      Specified by:
      getNamedPortsOrBuilder in interface InstanceWithNamedPortsOrBuilder
    • hasStatus

      public 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;
      Specified by:
      hasStatus in interface InstanceWithNamedPortsOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public 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;
      Specified by:
      getStatus in interface InstanceWithNamedPortsOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.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;
      Specified by:
      getStatusBytes in interface InstanceWithNamedPortsOrBuilder
      Returns:
      The bytes for status.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceWithNamedPorts parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceWithNamedPorts parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceWithNamedPorts parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public InstanceWithNamedPorts.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InstanceWithNamedPorts.Builder newBuilder()
    • newBuilder

      public static InstanceWithNamedPorts.Builder newBuilder(InstanceWithNamedPorts prototype)
    • toBuilder

      public InstanceWithNamedPorts.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InstanceWithNamedPorts.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InstanceWithNamedPorts getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InstanceWithNamedPorts> parser()
    • getParserForType

      public com.google.protobuf.Parser<InstanceWithNamedPorts> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InstanceWithNamedPorts getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder