Class Compute.InstanceMetadata.Service

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.InstanceMetadata.Service
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Compute.InstanceMetadata.ServiceOrBuilder
Enclosing class:
Compute.InstanceMetadata

public static final class Compute.InstanceMetadata.Service extends com.google.protobuf.GeneratedMessage implements Compute.InstanceMetadata.ServiceOrBuilder
 A service represents an internal service that is proxiable when an
 authenticated request is performed that proves that the caller has access
 to the instance.

 Access to services does not follow the gRPC service model, and goes over
 Namespace's programmable ingress directly, being a mix of either
 WebSocket- or HTTP-backed implementations.
 
Protobuf type namespace.cloud.compute.v1beta.InstanceMetadata.Service
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
    • getName

      public String getName()
       The name of the service, e.g. "ssh", "docker" or "containerd".
       
      string name = 1;
      Specified by:
      getName in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the service, e.g. "ssh", "docker" or "containerd".
       
      string name = 1;
      Specified by:
      getNameBytes in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The bytes for name.
    • getStatusValue

      public int getStatusValue()
       It's current status, one of PENDING or READY.
      
       Note: It's not guaranteed that all services emit a PENDING state
       before becoming READY. The fact that they're starting can sometimes
       result in a lack of a ServiceState entry for that service.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Service.Status status = 2;
      Specified by:
      getStatusValue in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       It's current status, one of PENDING or READY.
      
       Note: It's not guaranteed that all services emit a PENDING state
       before becoming READY. The fact that they're starting can sometimes
       result in a lack of a ServiceState entry for that service.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Service.Status status = 2;
      Specified by:
      getStatus in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The status.
    • getEndpointKindValue

      public int getEndpointKindValue()
       Identifies what application transport this endpoint implements.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Service.EndpointKind endpoint_kind = 3;
      Specified by:
      getEndpointKindValue in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The enum numeric value on the wire for endpointKind.
    • getEndpointKind

       Identifies what application transport this endpoint implements.
       
      .namespace.cloud.compute.v1beta.InstanceMetadata.Service.EndpointKind endpoint_kind = 3;
      Specified by:
      getEndpointKind in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The endpointKind.
    • getEndpoint

      public String getEndpoint()
       The application-specific endpoint. Typically a URL.
      
       Example: `wss://gate.fra1.nscluster.cloud/ui3e3e3g7cfrg/22`
       
      string endpoint = 4;
      Specified by:
      getEndpoint in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       The application-specific endpoint. Typically a URL.
      
       Example: `wss://gate.fra1.nscluster.cloud/ui3e3e3g7cfrg/22`
       
      string endpoint = 4;
      Specified by:
      getEndpointBytes in interface Compute.InstanceMetadata.ServiceOrBuilder
      Returns:
      The bytes for endpoint.
    • 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 Compute.InstanceMetadata.Service parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Compute.InstanceMetadata.Service parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Compute.InstanceMetadata.Service parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Compute.InstanceMetadata.Service.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Compute.InstanceMetadata.Service getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Compute.InstanceMetadata.Service> parser()
    • getParserForType

      public com.google.protobuf.Parser<Compute.InstanceMetadata.Service> 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 Compute.InstanceMetadata.Service getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder