Class AwsProxyConfig (0.51.0)

public final class AwsProxyConfig extends GeneratedMessageV3 implements AwsProxyConfigOrBuilder

Details of a proxy config stored in AWS Secret Manager.

Protobuf type google.cloud.gkemulticloud.v1.AwsProxyConfig

Static Fields

SECRET_ARN_FIELD_NUMBER

public static final int SECRET_ARN_FIELD_NUMBER
Field Value
Type Description
int

SECRET_VERSION_FIELD_NUMBER

public static final int SECRET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsProxyConfig getDefaultInstance()
Returns
Type Description
AwsProxyConfig

getDescriptor()

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

newBuilder()

public static AwsProxyConfig.Builder newBuilder()
Returns
Type Description
AwsProxyConfig.Builder

newBuilder(AwsProxyConfig prototype)

public static AwsProxyConfig.Builder newBuilder(AwsProxyConfig prototype)
Parameter
Name Description
prototype AwsProxyConfig
Returns
Type Description
AwsProxyConfig.Builder

parseDelimitedFrom(InputStream input)

public static AwsProxyConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AwsProxyConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsProxyConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsProxyConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AwsProxyConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AwsProxyConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsProxyConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsProxyConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AwsProxyConfig> parser()
Returns
Type Description
Parser<AwsProxyConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AwsProxyConfig getDefaultInstanceForType()
Returns
Type Description
AwsProxyConfig

getParserForType()

public Parser<AwsProxyConfig> getParserForType()
Returns
Type Description
Parser<AwsProxyConfig>
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/kubernetes-engine/multi-cloud/docs/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/kubernetes-engine/multi-cloud/docs/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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AwsProxyConfig.Builder newBuilderForType()
Returns
Type Description
AwsProxyConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsProxyConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AwsProxyConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AwsProxyConfig.Builder toBuilder()
Returns
Type Description
AwsProxyConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException