Class AzureProxyConfig (0.47.0)

public final class AzureProxyConfig extends GeneratedMessageV3 implements AzureProxyConfigOrBuilder

Details of a proxy config stored in Azure Key Vault.

Protobuf type google.cloud.gkemulticloud.v1.AzureProxyConfig

Static Fields

RESOURCE_GROUP_ID_FIELD_NUMBER

public static final int RESOURCE_GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

SECRET_ID_FIELD_NUMBER

public static final int SECRET_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureProxyConfig getDefaultInstance()
Returns
Type Description
AzureProxyConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AzureProxyConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureProxyConfig getDefaultInstanceForType()
Returns
Type Description
AzureProxyConfig

getParserForType()

public Parser<AzureProxyConfig> getParserForType()
Returns
Type Description
Parser<AzureProxyConfig>
Overrides

getResourceGroupId()

public String getResourceGroupId()

The ARM ID the of the resource group containing proxy keyvault.

Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>.

string resource_group_id = 1;

Returns
Type Description
String

The resourceGroupId.

getResourceGroupIdBytes()

public ByteString getResourceGroupIdBytes()

The ARM ID the of the resource group containing proxy keyvault.

Resource group ids are formatted as /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>.

string resource_group_id = 1;

Returns
Type Description
ByteString

The bytes for resourceGroupId.

getSecretId()

public String getSecretId()

The URL the of the proxy setting secret with its version.

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

Secret ids are formatted as https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.

string secret_id = 2;

Returns
Type Description
String

The secretId.

getSecretIdBytes()

public ByteString getSecretIdBytes()

The URL the of the proxy setting secret with its version.

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

Secret ids are formatted as https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>.

string secret_id = 2;

Returns
Type Description
ByteString

The bytes for secretId.

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 AzureProxyConfig.Builder newBuilderForType()
Returns
Type Description
AzureProxyConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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