Class GenerateAzureClusterAgentTokenRequest (0.40.0)

public final class GenerateAzureClusterAgentTokenRequest extends GeneratedMessageV3 implements GenerateAzureClusterAgentTokenRequestOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest

Inheritance

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

Static Fields

AUDIENCE_FIELD_NUMBER

public static final int AUDIENCE_FIELD_NUMBER
Field Value
TypeDescription
int

AZURE_CLUSTER_FIELD_NUMBER

public static final int AZURE_CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

GRANT_TYPE_FIELD_NUMBER

public static final int GRANT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_POOL_ID_FIELD_NUMBER

public static final int NODE_POOL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

REQUESTED_TOKEN_TYPE_FIELD_NUMBER

public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
TypeDescription
int

SUBJECT_TOKEN_FIELD_NUMBER

public static final int SUBJECT_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SUBJECT_TOKEN_TYPE_FIELD_NUMBER

public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateAzureClusterAgentTokenRequest getDefaultInstance()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAzureClusterAgentTokenRequest prototype)

public static GenerateAzureClusterAgentTokenRequest.Builder newBuilder(GenerateAzureClusterAgentTokenRequest prototype)
Parameter
NameDescription
prototypeGenerateAzureClusterAgentTokenRequest
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAudience()

public String getAudience()

Optional.

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

Returns
TypeDescription
String

The audience.

getAudienceBytes()

public ByteString getAudienceBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for audience.

getAzureCluster()

public String getAzureCluster()

Required.

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

Returns
TypeDescription
String

The azureCluster.

getAzureClusterBytes()

public ByteString getAzureClusterBytes()

Required.

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

Returns
TypeDescription
ByteString

The bytes for azureCluster.

getDefaultInstanceForType()

public GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest

getGrantType()

public String getGrantType()

Optional.

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

Returns
TypeDescription
String

The grantType.

getGrantTypeBytes()

public ByteString getGrantTypeBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for grantType.

getNodePoolId()

public String getNodePoolId()

Optional.

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

Returns
TypeDescription
String

The nodePoolId.

getNodePoolIdBytes()

public ByteString getNodePoolIdBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for nodePoolId.

getOptions()

public String getOptions()

Optional.

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

Returns
TypeDescription
String

The options.

getOptionsBytes()

public ByteString getOptionsBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for options.

getParserForType()

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

getRequestedTokenType()

public String getRequestedTokenType()

Optional.

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

Returns
TypeDescription
String

The requestedTokenType.

getRequestedTokenTypeBytes()

public ByteString getRequestedTokenTypeBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for requestedTokenType.

getScope()

public String getScope()

Optional.

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

Returns
TypeDescription
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Optional.

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

Returns
TypeDescription
ByteString

The bytes for scope.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubjectToken()

public String getSubjectToken()

Required.

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

Returns
TypeDescription
String

The subjectToken.

getSubjectTokenBytes()

public ByteString getSubjectTokenBytes()

Required.

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

Returns
TypeDescription
ByteString

The bytes for subjectToken.

getSubjectTokenType()

public String getSubjectTokenType()

Required.

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

Returns
TypeDescription
String

The subjectTokenType.

getSubjectTokenTypeBytes()

public ByteString getSubjectTokenTypeBytes()

Required.

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

Returns
TypeDescription
ByteString

The bytes for subjectTokenType.

getVersion()

public String getVersion()

Required.

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

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required.

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

Returns
TypeDescription
ByteString

The bytes for version.

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 GenerateAzureClusterAgentTokenRequest.Builder newBuilderForType()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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