public static final class AzureSourceDetails.ClientSecretCredentials.Builder extends GeneratedMessage.Builder<AzureSourceDetails.ClientSecretCredentials.Builder> implements AzureSourceDetails.ClientSecretCredentialsOrBuilderMessage describing Azure Credentials using tenant ID, client ID and secret.
Protobuf type google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AzureSourceDetails.ClientSecretCredentials.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AzureSourceDetails.ClientSecretCredentials build()| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials |
|
buildPartial()
public AzureSourceDetails.ClientSecretCredentials buildPartial()| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials |
|
clear()
public AzureSourceDetails.ClientSecretCredentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
|
clearClientId()
public AzureSourceDetails.ClientSecretCredentials.Builder clearClientId()Azure client ID.
string client_id = 2;
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
clearClientSecret()
public AzureSourceDetails.ClientSecretCredentials.Builder clearClientSecret()Input only. Azure client secret.
string client_secret = 3 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
clearTenantId()
public AzureSourceDetails.ClientSecretCredentials.Builder clearTenantId()Azure tenant ID.
string tenant_id = 1;
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
getClientId()
public String getClientId()Azure client ID.
string client_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes()Azure client ID.
string client_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public String getClientSecret()Input only. Azure client secret.
string client_secret = 3 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public ByteString getClientSecretBytes()Input only. Azure client secret.
string client_secret = 3 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getDefaultInstanceForType()
public AzureSourceDetails.ClientSecretCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTenantId()
public String getTenantId()Azure tenant ID.
string tenant_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The tenantId. |
getTenantIdBytes()
public ByteString getTenantIdBytes()Azure tenant ID.
string tenant_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tenantId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AzureSourceDetails.ClientSecretCredentials other)
public AzureSourceDetails.ClientSecretCredentials.Builder mergeFrom(AzureSourceDetails.ClientSecretCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
AzureSourceDetails.ClientSecretCredentials |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AzureSourceDetails.ClientSecretCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AzureSourceDetails.ClientSecretCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
|
setClientId(String value)
public AzureSourceDetails.ClientSecretCredentials.Builder setClientId(String value)Azure client ID.
string client_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public AzureSourceDetails.ClientSecretCredentials.Builder setClientIdBytes(ByteString value)Azure client ID.
string client_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
setClientSecret(String value)
public AzureSourceDetails.ClientSecretCredentials.Builder setClientSecret(String value)Input only. Azure client secret.
string client_secret = 3 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
setClientSecretBytes(ByteString value)
public AzureSourceDetails.ClientSecretCredentials.Builder setClientSecretBytes(ByteString value)Input only. Azure client secret.
string client_secret = 3 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
setTenantId(String value)
public AzureSourceDetails.ClientSecretCredentials.Builder setTenantId(String value)Azure tenant ID.
string tenant_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tenantId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |
setTenantIdBytes(ByteString value)
public AzureSourceDetails.ClientSecretCredentials.Builder setTenantIdBytes(ByteString value)Azure tenant ID.
string tenant_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tenantId to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceDetails.ClientSecretCredentials.Builder |
This builder for chaining. |