Class AwsProxyConfig (0.33.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
TypeDescription
int

SECRET_VERSION_FIELD_NUMBER

public static final int SECRET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsProxyConfig getDefaultInstance()
Returns
TypeDescription
AwsProxyConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AwsProxyConfig prototype)

public static AwsProxyConfig.Builder newBuilder(AwsProxyConfig prototype)
Parameter
NameDescription
prototypeAwsProxyConfig
Returns
TypeDescription
AwsProxyConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsProxyConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsProxyConfig

getParserForType()

public Parser<AwsProxyConfig> getParserForType()
Returns
TypeDescription
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/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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 AwsProxyConfig.Builder newBuilderForType()
Returns
TypeDescription
AwsProxyConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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