Class GenerateAwsAccessTokenRequest (0.16.0)

public final class GenerateAwsAccessTokenRequest extends GeneratedMessageV3 implements GenerateAwsAccessTokenRequestOrBuilder

Request message for AwsClusters.GenerateAwsAccessToken method.

Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest

Static Fields

AWS_CLUSTER_FIELD_NUMBER

public static final int AWS_CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateAwsAccessTokenRequest getDefaultInstance()
Returns
TypeDescription
GenerateAwsAccessTokenRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAwsAccessTokenRequest prototype)

public static GenerateAwsAccessTokenRequest.Builder newBuilder(GenerateAwsAccessTokenRequest prototype)
Parameter
NameDescription
prototypeGenerateAwsAccessTokenRequest
Returns
TypeDescription
GenerateAwsAccessTokenRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAwsCluster()

public String getAwsCluster()

Required. The name of the AwsCluster resource to authenticate to. AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
String

The awsCluster.

getAwsClusterBytes()

public ByteString getAwsClusterBytes()

Required. The name of the AwsCluster resource to authenticate to. AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. See Resource Names for more details on Google Cloud resource names.

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

Returns
TypeDescription
ByteString

The bytes for awsCluster.

getDefaultInstanceForType()

public GenerateAwsAccessTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateAwsAccessTokenRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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