public final class AzureClient extends GeneratedMessageV3 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 Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
APPLICATION_ID_FIELD_NUMBER
public static final int APPLICATION_ID_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PEM_CERTIFICATE_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER
Field Value
TENANT_ID_FIELD_NUMBER
public static final int TENANT_ID_FIELD_NUMBER
Field Value
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AzureClient getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AzureClient.Builder newBuilder()
Returns
newBuilder(AzureClient prototype)
public static AzureClient.Builder newBuilder(AzureClient prototype)
Parameter
Returns
public static AzureClient parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureClient parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AzureClient parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureClient parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AzureClient parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureClient parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureClient parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AzureClient parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureClient parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureClient parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AzureClient parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureClient parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AzureClient> parser()
Returns
Methods
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnnotations()
public Map<String,String> getAnnotations()
Returns
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
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
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
Returns
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
Returns
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
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
getDefaultInstanceForType()
public AzureClient getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<AzureClient> getParserForType()
Returns
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUid()
Output only. A globally unique identifier for the client.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUidBytes()
public ByteString getUidBytes()
Output only. A globally unique identifier for the client.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AzureClient.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureClient.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AzureClient.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions