Class GenerateOfflineCredentialResponse (0.37.0)

public final class GenerateOfflineCredentialResponse extends GeneratedMessageV3 implements GenerateOfflineCredentialResponseOrBuilder

An offline credential for a cluster.

Protobuf type google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateOfflineCredentialResponse

Static Fields

CLIENT_CERTIFICATE_FIELD_NUMBER

public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
Field Value
TypeDescription
int

CLIENT_KEY_FIELD_NUMBER

public static final int CLIENT_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateOfflineCredentialResponse getDefaultInstance()
Returns
TypeDescription
GenerateOfflineCredentialResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateOfflineCredentialResponse.Builder newBuilder()
Returns
TypeDescription
GenerateOfflineCredentialResponse.Builder

newBuilder(GenerateOfflineCredentialResponse prototype)

public static GenerateOfflineCredentialResponse.Builder newBuilder(GenerateOfflineCredentialResponse prototype)
Parameter
NameDescription
prototypeGenerateOfflineCredentialResponse
Returns
TypeDescription
GenerateOfflineCredentialResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateOfflineCredentialResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateOfflineCredentialResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateOfflineCredentialResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateOfflineCredentialResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateOfflineCredentialResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateOfflineCredentialResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateOfflineCredentialResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateOfflineCredentialResponse> parser()
Returns
TypeDescription
Parser<GenerateOfflineCredentialResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClientCertificate()

public String getClientCertificate()

Output only. Client certificate to authenticate to k8s api-server.

string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clientCertificate.

getClientCertificateBytes()

public ByteString getClientCertificateBytes()

Output only. Client certificate to authenticate to k8s api-server.

string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

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];

Returns
TypeDescription
String

The clientKey.

getClientKeyBytes()

public ByteString getClientKeyBytes()

Output only. Client private key to authenticate to k8s api-server.

string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clientKey.

getDefaultInstanceForType()

public GenerateOfflineCredentialResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateOfflineCredentialResponse

getExpireTime()

public Timestamp getExpireTime()

Output only. Timestamp at which this credential will expire.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Timestamp at which this credential will expire.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<GenerateOfflineCredentialResponse> getParserForType()
Returns
TypeDescription
Parser<GenerateOfflineCredentialResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUserId()

public String getUserId()

Output only. Client's identity.

string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

Output only. Client's identity.

string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

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];

Returns
TypeDescription
boolean

Whether the expireTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateOfflineCredentialResponse.Builder newBuilderForType()
Returns
TypeDescription
GenerateOfflineCredentialResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateOfflineCredentialResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateOfflineCredentialResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateOfflineCredentialResponse.Builder toBuilder()
Returns
TypeDescription
GenerateOfflineCredentialResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException