Class AzureProxyConfig.Builder (0.47.0)

public static final class AzureProxyConfig.Builder extends GeneratedMessageV3.Builder<AzureProxyConfig.Builder> implements AzureProxyConfigOrBuilder

Details of a proxy config stored in Azure Key Vault.

Protobuf type google.cloud.gkemulticloud.v1.AzureProxyConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureProxyConfig.Builder
Overrides

build()

public AzureProxyConfig build()
Returns
Type Description
AzureProxyConfig

buildPartial()

public AzureProxyConfig buildPartial()
Returns
Type Description
AzureProxyConfig

clear()

public AzureProxyConfig.Builder clear()
Returns
Type Description
AzureProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AzureProxyConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AzureProxyConfig.Builder
Overrides

clearResourceGroupId()

public AzureProxyConfig.Builder clearResourceGroupId()

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
AzureProxyConfig.Builder

This builder for chaining.

clearSecretId()

public AzureProxyConfig.Builder clearSecretId()

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
AzureProxyConfig.Builder

This builder for chaining.

clone()

public AzureProxyConfig.Builder clone()
Returns
Type Description
AzureProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AzureProxyConfig getDefaultInstanceForType()
Returns
Type Description
AzureProxyConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureProxyConfig other)

public AzureProxyConfig.Builder mergeFrom(AzureProxyConfig other)
Parameter
Name Description
other AzureProxyConfig
Returns
Type Description
AzureProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureProxyConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureProxyConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureProxyConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureProxyConfig.Builder
Overrides

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

public AzureProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AzureProxyConfig.Builder
Overrides

setResourceGroupId(String value)

public AzureProxyConfig.Builder setResourceGroupId(String value)

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;

Parameter
Name Description
value String

The resourceGroupId to set.

Returns
Type Description
AzureProxyConfig.Builder

This builder for chaining.

setResourceGroupIdBytes(ByteString value)

public AzureProxyConfig.Builder setResourceGroupIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for resourceGroupId to set.

Returns
Type Description
AzureProxyConfig.Builder

This builder for chaining.

setSecretId(String value)

public AzureProxyConfig.Builder setSecretId(String value)

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;

Parameter
Name Description
value String

The secretId to set.

Returns
Type Description
AzureProxyConfig.Builder

This builder for chaining.

setSecretIdBytes(ByteString value)

public AzureProxyConfig.Builder setSecretIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for secretId to set.

Returns
Type Description
AzureProxyConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureProxyConfig.Builder
Overrides