Class AzureProxyConfig (0.28.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
TypeDescription
int

SECRET_ID_FIELD_NUMBER

public static final int SECRET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AzureProxyConfig getDefaultInstance()
Returns
TypeDescription
AzureProxyConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AzureProxyConfig prototype)

public static AzureProxyConfig.Builder newBuilder(AzureProxyConfig prototype)
Parameter
NameDescription
prototypeAzureProxyConfig
Returns
TypeDescription
AzureProxyConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureProxyConfig getDefaultInstanceForType()
Returns
TypeDescription
AzureProxyConfig

getParserForType()

public Parser<AzureProxyConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for secretId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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