Class AzureClient.Builder (0.41.0)

public static final class AzureClient.Builder extends GeneratedMessageV3.Builder<AzureClient.Builder> implements AzureClientOrBuilder

AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.

When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.

AzureClient resources are immutable and cannot be modified upon creation.

Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.

Protobuf type google.cloud.gkemulticloud.v1.AzureClient

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureClient build()
Returns
Type Description
AzureClient

buildPartial()

public AzureClient buildPartial()
Returns
Type Description
AzureClient

clear()

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

clearAnnotations()

public AzureClient.Builder clearAnnotations()
Returns
Type Description
AzureClient.Builder

clearApplicationId()

public AzureClient.Builder clearApplicationId()

Required. The Azure Active Directory Application ID.

string application_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearCreateTime()

public AzureClient.Builder clearCreateTime()

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureClient.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public AzureClient.Builder clearName()

The name of this resource.

AzureClient resource names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>.

See Resource Names for more details on Google Cloud resource names.

string name = 1;

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPemCertificate()

public AzureClient.Builder clearPemCertificate()

Output only. The PEM encoded x509 certificate.

string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearReconciling()

public AzureClient.Builder clearReconciling()

Output only. If set, there are currently pending changes to the client.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearTenantId()

public AzureClient.Builder clearTenantId()

Required. The Azure Active Directory Tenant ID.

string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearUid()

public AzureClient.Builder clearUid()

Output only. A globally unique identifier for the client.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureClient.Builder

This builder for chaining.

clearUpdateTime()

public AzureClient.Builder clearUpdateTime()

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureClient.Builder

clone()

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

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getApplicationId()

public String getApplicationId()

Required. The Azure Active Directory Application ID.

string application_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The applicationId.

getApplicationIdBytes()

public ByteString getApplicationIdBytes()

Required. The Azure Active Directory Application ID.

string application_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for applicationId.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AzureClient getDefaultInstanceForType()
Returns
Type Description
AzureClient

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of this resource.

AzureClient resource names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>.

See Resource Names for more details on Google Cloud resource names.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this resource.

AzureClient resource names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>.

See Resource Names for more details on Google Cloud resource names.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPemCertificate()

public String getPemCertificate()

Output only. The PEM encoded x509 certificate.

string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The pemCertificate.

getPemCertificateBytes()

public ByteString getPemCertificateBytes()

Output only. The PEM encoded x509 certificate.

string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pemCertificate.

getReconciling()

public boolean getReconciling()

Output only. If set, there are currently pending changes to the client.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

getTenantId()

public String getTenantId()

Required. The Azure Active Directory Tenant ID.

string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Required. The Azure Active Directory Tenant ID.

string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tenantId.

getUid()

public String getUid()

Output only. A globally unique identifier for the client.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A globally unique identifier for the client.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public AzureClient.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureClient.Builder

mergeFrom(AzureClient other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AzureClient.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureClient.Builder

putAllAnnotations(Map<String,String> values)

public AzureClient.Builder putAllAnnotations(Map<String,String> values)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AzureClient.Builder

putAnnotations(String key, String value)

public AzureClient.Builder putAnnotations(String key, String value)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AzureClient.Builder

removeAnnotations(String key)

public AzureClient.Builder removeAnnotations(String key)

Optional. Annotations on the resource.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AzureClient.Builder

setApplicationId(String value)

public AzureClient.Builder setApplicationId(String value)

Required. The Azure Active Directory Application ID.

string application_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The applicationId to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setApplicationIdBytes(ByteString value)

public AzureClient.Builder setApplicationIdBytes(ByteString value)

Required. The Azure Active Directory Application ID.

string application_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for applicationId to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public AzureClient.Builder setCreateTime(Timestamp value)

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureClient.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AzureClient.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AzureClient.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AzureClient.Builder setName(String value)

The name of this resource.

AzureClient resource names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>.

See Resource Names for more details on Google Cloud resource names.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AzureClient.Builder setNameBytes(ByteString value)

The name of this resource.

AzureClient resource names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>.

See Resource Names for more details on Google Cloud resource names.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setPemCertificate(String value)

public AzureClient.Builder setPemCertificate(String value)

Output only. The PEM encoded x509 certificate.

string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The pemCertificate to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setPemCertificateBytes(ByteString value)

public AzureClient.Builder setPemCertificateBytes(ByteString value)

Output only. The PEM encoded x509 certificate.

string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for pemCertificate to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setReconciling(boolean value)

public AzureClient.Builder setReconciling(boolean value)

Output only. If set, there are currently pending changes to the client.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

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

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

setTenantId(String value)

public AzureClient.Builder setTenantId(String value)

Required. The Azure Active Directory Tenant ID.

string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

public AzureClient.Builder setTenantIdBytes(ByteString value)

Required. The Azure Active Directory Tenant ID.

string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setUid(String value)

public AzureClient.Builder setUid(String value)

Output only. A globally unique identifier for the client.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AzureClient.Builder setUidBytes(ByteString value)

Output only. A globally unique identifier for the client.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AzureClient.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AzureClient.Builder setUpdateTime(Timestamp value)

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureClient.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AzureClient.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which this client was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AzureClient.Builder