Class GenerateAttachedClusterAgentTokenRequest (0.52.0)

public final class GenerateAttachedClusterAgentTokenRequest extends GeneratedMessageV3 implements GenerateAttachedClusterAgentTokenRequestOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest

Inheritance

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

Static Fields

ATTACHED_CLUSTER_FIELD_NUMBER

public static final int ATTACHED_CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

AUDIENCE_FIELD_NUMBER

public static final int AUDIENCE_FIELD_NUMBER
Field Value
Type Description
int

GRANT_TYPE_FIELD_NUMBER

public static final int GRANT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

REQUESTED_TOKEN_TYPE_FIELD_NUMBER

public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

SUBJECT_TOKEN_FIELD_NUMBER

public static final int SUBJECT_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SUBJECT_TOKEN_TYPE_FIELD_NUMBER

public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateAttachedClusterAgentTokenRequest getDefaultInstance()
Returns
Type Description
GenerateAttachedClusterAgentTokenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAttachedClusterAgentTokenRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttachedCluster()

public String getAttachedCluster()

Required.

string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The attachedCluster.

getAttachedClusterBytes()

public ByteString getAttachedClusterBytes()

Required.

string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for attachedCluster.

getAudience()

public String getAudience()

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The audience.

getAudienceBytes()

public ByteString getAudienceBytes()

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for audience.

getDefaultInstanceForType()

public GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAttachedClusterAgentTokenRequest

getGrantType()

public String getGrantType()

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The grantType.

getGrantTypeBytes()

public ByteString getGrantTypeBytes()

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for grantType.

getOptions()

public String getOptions()

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The options.

getOptionsBytes()

public ByteString getOptionsBytes()

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for options.

getParserForType()

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

getRequestedTokenType()

public String getRequestedTokenType()

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestedTokenType.

getRequestedTokenTypeBytes()

public ByteString getRequestedTokenTypeBytes()

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestedTokenType.

getScope()

public String getScope()

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for scope.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubjectToken()

public String getSubjectToken()

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The subjectToken.

getSubjectTokenBytes()

public ByteString getSubjectTokenBytes()

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for subjectToken.

getSubjectTokenType()

public String getSubjectTokenType()

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The subjectTokenType.

getSubjectTokenTypeBytes()

public ByteString getSubjectTokenTypeBytes()

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for subjectTokenType.

getVersion()

public String getVersion()

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for version.

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 GenerateAttachedClusterAgentTokenRequest.Builder newBuilderForType()
Returns
Type Description
GenerateAttachedClusterAgentTokenRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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