Class GenerateOfflineCredentialResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse
All Implemented Interfaces:
GenerateOfflineCredentialResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GenerateOfflineCredentialResponse extends com.google.protobuf.GeneratedMessage implements GenerateOfflineCredentialResponseOrBuilder
 An offline credential for a cluster.
 
Protobuf type google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse
See Also:
  • Field Details

    • CLIENT_CERTIFICATE_FIELD_NUMBER

      public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
      See Also:
    • CLIENT_KEY_FIELD_NUMBER

      public static final int CLIENT_KEY_FIELD_NUMBER
      See Also:
    • USER_ID_FIELD_NUMBER

      public static final int USER_ID_FIELD_NUMBER
      See Also:
    • EXPIRE_TIME_FIELD_NUMBER

      public static final int EXPIRE_TIME_FIELD_NUMBER
      See Also:
  • 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
    • getClientCertificate

      public String getClientCertificate()
       Output only. Client certificate to authenticate to k8s api-server.
       
      string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClientCertificate in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The clientCertificate.
    • getClientCertificateBytes

      public com.google.protobuf.ByteString getClientCertificateBytes()
       Output only. Client certificate to authenticate to k8s api-server.
       
      string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClientCertificateBytes in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The bytes for clientCertificate.
    • getClientKey

      public String getClientKey()
       Output only. Client private key to authenticate to k8s api-server.
       
      string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClientKey in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The clientKey.
    • getClientKeyBytes

      public com.google.protobuf.ByteString getClientKeyBytes()
       Output only. Client private key to authenticate to k8s api-server.
       
      string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClientKeyBytes in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The bytes for clientKey.
    • getUserId

      public String getUserId()
       Output only. Client's identity.
       
      string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUserId in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The userId.
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
       Output only. Client's identity.
       
      string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUserIdBytes in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The bytes for userId.
    • hasExpireTime

      public boolean hasExpireTime()
       Output only. Timestamp at which this credential will expire.
       
      .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpireTime in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       Output only. Timestamp at which this credential will expire.
       
      .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTime in interface GenerateOfflineCredentialResponseOrBuilder
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. Timestamp at which this credential will expire.
       
      .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTimeOrBuilder in interface GenerateOfflineCredentialResponseOrBuilder
    • 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 GenerateOfflineCredentialResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GenerateOfflineCredentialResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static GenerateOfflineCredentialResponse getDefaultInstance()
    • parser

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

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