Class GenerateOfflineCredentialResponse (0.40.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
Type Description
int

CLIENT_KEY_FIELD_NUMBER

public static final int CLIENT_KEY_FIELD_NUMBER
Field Value
Type Description
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateOfflineCredentialResponse getDefaultInstance()
Returns
Type Description
GenerateOfflineCredentialResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateOfflineCredentialResponse.Builder newBuilder()
Returns
Type Description
GenerateOfflineCredentialResponse.Builder

newBuilder(GenerateOfflineCredentialResponse prototype)

public static GenerateOfflineCredentialResponse.Builder newBuilder(GenerateOfflineCredentialResponse prototype)
Parameter
Name Description
prototype GenerateOfflineCredentialResponse
Returns
Type Description
GenerateOfflineCredentialResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateOfflineCredentialResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateOfflineCredentialResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateOfflineCredentialResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateOfflineCredentialResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateOfflineCredentialResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateOfflineCredentialResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateOfflineCredentialResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOfflineCredentialResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateOfflineCredentialResponse> parser()
Returns
Type Description
Parser<GenerateOfflineCredentialResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for clientKey.

getDefaultInstanceForType()

public GenerateOfflineCredentialResponse getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getParserForType()

public Parser<GenerateOfflineCredentialResponse> getParserForType()
Returns
Type Description
Parser<GenerateOfflineCredentialResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserId()

public String getUserId()

Output only. Client's identity.

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

Returns
Type Description
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

Output only. Client's identity.

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

Returns
Type Description
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
Type Description
boolean

Whether the expireTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateOfflineCredentialResponse.Builder newBuilderForType()
Returns
Type Description
GenerateOfflineCredentialResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateOfflineCredentialResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateOfflineCredentialResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateOfflineCredentialResponse.Builder toBuilder()
Returns
Type Description
GenerateOfflineCredentialResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException