public static final class GenerateAwsAccessTokenRequest.Builder extends GeneratedMessageV3.Builder<GenerateAwsAccessTokenRequest.Builder> implements GenerateAwsAccessTokenRequestOrBuilder
Request message for AwsClusters.GenerateAwsAccessToken
method.
Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateAwsAccessTokenRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateAwsAccessTokenRequest build()
buildPartial()
public GenerateAwsAccessTokenRequest buildPartial()
clear()
public GenerateAwsAccessTokenRequest.Builder clear()
Overrides
clearAwsCluster()
public GenerateAwsAccessTokenRequest.Builder clearAwsCluster()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public GenerateAwsAccessTokenRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateAwsAccessTokenRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GenerateAwsAccessTokenRequest.Builder clone()
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for awsCluster.
|
getDefaultInstanceForType()
public GenerateAwsAccessTokenRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerateAwsAccessTokenRequest other)
public GenerateAwsAccessTokenRequest.Builder mergeFrom(GenerateAwsAccessTokenRequest other)
public GenerateAwsAccessTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateAwsAccessTokenRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateAwsAccessTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAwsCluster(String value)
public GenerateAwsAccessTokenRequest.Builder setAwsCluster(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The awsCluster to set.
|
setAwsClusterBytes(ByteString value)
public GenerateAwsAccessTokenRequest.Builder setAwsClusterBytes(ByteString value)
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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for awsCluster to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateAwsAccessTokenRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateAwsAccessTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateAwsAccessTokenRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides