Class AwsProxyConfig.Builder (0.45.0)

public static final class AwsProxyConfig.Builder extends GeneratedMessageV3.Builder<AwsProxyConfig.Builder> implements AwsProxyConfigOrBuilder

Details of a proxy config stored in AWS Secret Manager.

Protobuf type google.cloud.gkemulticloud.v1.AwsProxyConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsProxyConfig.Builder
Overrides

build()

public AwsProxyConfig build()
Returns
Type Description
AwsProxyConfig

buildPartial()

public AwsProxyConfig buildPartial()
Returns
Type Description
AwsProxyConfig

clear()

public AwsProxyConfig.Builder clear()
Returns
Type Description
AwsProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsProxyConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsProxyConfig.Builder
Overrides

clearSecretArn()

public AwsProxyConfig.Builder clearSecretArn()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

clearSecretVersion()

public AwsProxyConfig.Builder clearSecretVersion()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

clone()

public AwsProxyConfig.Builder clone()
Returns
Type Description
AwsProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AwsProxyConfig getDefaultInstanceForType()
Returns
Type Description
AwsProxyConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSecretArn()

public String getSecretArn()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
String

The secretArn.

getSecretArnBytes()

public ByteString getSecretArnBytes()

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Returns
Type Description
ByteString

The bytes for secretArn.

getSecretVersion()

public String getSecretVersion()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
String

The secretVersion.

getSecretVersionBytes()

public ByteString getSecretVersionBytes()

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Returns
Type Description
ByteString

The bytes for secretVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsProxyConfig other)

public AwsProxyConfig.Builder mergeFrom(AwsProxyConfig other)
Parameter
Name Description
other AwsProxyConfig
Returns
Type Description
AwsProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsProxyConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsProxyConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsProxyConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsProxyConfig.Builder
Overrides

setSecretArn(String value)

public AwsProxyConfig.Builder setSecretArn(String value)

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Parameter
Name Description
value String

The secretArn to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretArnBytes(ByteString value)

public AwsProxyConfig.Builder setSecretArnBytes(ByteString value)

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

string secret_arn = 1;

Parameter
Name Description
value ByteString

The bytes for secretArn to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretVersion(String value)

public AwsProxyConfig.Builder setSecretVersion(String value)

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Parameter
Name Description
value String

The secretVersion to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setSecretVersionBytes(ByteString value)

public AwsProxyConfig.Builder setSecretVersionBytes(ByteString value)

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

string secret_version = 2;

Parameter
Name Description
value ByteString

The bytes for secretVersion to set.

Returns
Type Description
AwsProxyConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsProxyConfig.Builder
Overrides