Class AwsProxyConfig.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

build()

public AwsProxyConfig build()
Returns
TypeDescription
AwsProxyConfig

buildPartial()

public AwsProxyConfig buildPartial()
Returns
TypeDescription
AwsProxyConfig

clear()

public AwsProxyConfig.Builder clear()
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsProxyConfig.Builder

This builder for chaining.

clone()

public AwsProxyConfig.Builder clone()
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AwsProxyConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsProxyConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for secretVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsProxyConfig other)

public AwsProxyConfig.Builder mergeFrom(AwsProxyConfig other)
Parameter
NameDescription
otherAwsProxyConfig
Returns
TypeDescription
AwsProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsProxyConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides

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

public AwsProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The secretArn to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for secretArn to set.

Returns
TypeDescription
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
NameDescription
valueString

The secretVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for secretVersion to set.

Returns
TypeDescription
AwsProxyConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsProxyConfig.Builder
Overrides