Class AzureProxyConfig.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureProxyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

build()

public AzureProxyConfig build()
Returns
TypeDescription
AzureProxyConfig

buildPartial()

public AzureProxyConfig buildPartial()
Returns
TypeDescription
AzureProxyConfig

clear()

public AzureProxyConfig.Builder clear()
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureProxyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureProxyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AzureProxyConfig.Builder

This builder for chaining.

clone()

public AzureProxyConfig.Builder clone()
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

getDefaultInstanceForType()

public AzureProxyConfig getDefaultInstanceForType()
Returns
TypeDescription
AzureProxyConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureProxyConfig other)

public AzureProxyConfig.Builder mergeFrom(AzureProxyConfig other)
Parameter
NameDescription
otherAzureProxyConfig
Returns
TypeDescription
AzureProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureProxyConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureProxyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureProxyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides

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

public AzureProxyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceGroupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceGroupId to set.

Returns
TypeDescription
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
NameDescription
valueString

The secretId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for secretId to set.

Returns
TypeDescription
AzureProxyConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureProxyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureProxyConfig.Builder
Overrides