Class AzureProxyConfig.Builder (0.84.0)

public static final class AzureProxyConfig.Builder extends GeneratedMessage.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

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

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/kubernetes-engine/multi-cloud/docs/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.

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/kubernetes-engine/multi-cloud/docs/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/kubernetes-engine/multi-cloud/docs/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 GeneratedMessage.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

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/kubernetes-engine/multi-cloud/docs/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/kubernetes-engine/multi-cloud/docs/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.