Class GenerateAwsClusterAgentTokenRequest (0.47.0)

public final class GenerateAwsClusterAgentTokenRequest extends GeneratedMessageV3 implements GenerateAwsClusterAgentTokenRequestOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest

Inheritance

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

Static Fields

AUDIENCE_FIELD_NUMBER

public static final int AUDIENCE_FIELD_NUMBER
Field Value
Type Description
int

AWS_CLUSTER_FIELD_NUMBER

public static final int AWS_CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

GRANT_TYPE_FIELD_NUMBER

public static final int GRANT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NODE_POOL_ID_FIELD_NUMBER

public static final int NODE_POOL_ID_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 GenerateAwsClusterAgentTokenRequest getDefaultInstance()
Returns
Type Description
GenerateAwsClusterAgentTokenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAwsClusterAgentTokenRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

getAwsCluster()

public String getAwsCluster()

Required.

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

Returns
Type Description
String

The awsCluster.

getAwsClusterBytes()

public ByteString getAwsClusterBytes()

Required.

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

Returns
Type Description
ByteString

The bytes for awsCluster.

getDefaultInstanceForType()

public GenerateAwsClusterAgentTokenRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAwsClusterAgentTokenRequest

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.

getNodePoolId()

public String getNodePoolId()

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodePoolId.

getNodePoolIdBytes()

public ByteString getNodePoolIdBytes()

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodePoolId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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