public final class AzureSourceDetails extends GeneratedMessageV3 implements AzureSourceDetailsOrBuilder
AzureSourceDetails message describes a specific source details for the
Azure source type.
Protobuf type google.cloud.vmmigration.v1.AzureSourceDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AZURE_LOCATION_FIELD_NUMBER
public static final int AZURE_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLIENT_SECRET_CREDS_FIELD_NUMBER
public static final int CLIENT_SECRET_CREDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_GROUP_ID_FIELD_NUMBER
public static final int RESOURCE_GROUP_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBSCRIPTION_ID_FIELD_NUMBER
public static final int SUBSCRIPTION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AzureSourceDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AzureSourceDetails.Builder newBuilder()
newBuilder(AzureSourceDetails prototype)
public static AzureSourceDetails.Builder newBuilder(AzureSourceDetails prototype)
public static AzureSourceDetails parseDelimitedFrom(InputStream input)
public static AzureSourceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AzureSourceDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureSourceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AzureSourceDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureSourceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureSourceDetails parseFrom(CodedInputStream input)
public static AzureSourceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureSourceDetails parseFrom(InputStream input)
public static AzureSourceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AzureSourceDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureSourceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AzureSourceDetails> parser()
Methods
public boolean containsMigrationResourcesUserTags(String key)
User specified tags to add to every M2VM generated resource in Azure.
These tags will be set in addition to the default tags that are set as part
of the migration process. The tags must not begin with the reserved prefix
m4ce
or m2vm
.
map<string, string> migration_resources_user_tags = 8;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAzureLocation()
public String getAzureLocation()
Immutable. The Azure location (region) that the source VMs will be migrated
from.
string azure_location = 5 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
String |
The azureLocation.
|
getAzureLocationBytes()
public ByteString getAzureLocationBytes()
Immutable. The Azure location (region) that the source VMs will be migrated
from.
string azure_location = 5 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
ByteString |
The bytes for azureLocation.
|
getClientSecretCreds()
public AzureSourceDetails.ClientSecretCredentials getClientSecretCreds()
Azure Credentials using tenant ID, client ID and secret.
.google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials client_secret_creds = 9;
getClientSecretCredsOrBuilder()
public AzureSourceDetails.ClientSecretCredentialsOrBuilder getClientSecretCredsOrBuilder()
Azure Credentials using tenant ID, client ID and secret.
.google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials client_secret_creds = 9;
getCredentialsTypeCase()
public AzureSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
getDefaultInstanceForType()
public AzureSourceDetails getDefaultInstanceForType()
getError()
Output only. Provides details on the state of the Source in case of an
error.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.rpc.Status |
The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Provides details on the state of the Source in case of an
error.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
public Map<String,String> getMigrationResourcesUserTags()
public int getMigrationResourcesUserTagsCount()
User specified tags to add to every M2VM generated resource in Azure.
These tags will be set in addition to the default tags that are set as part
of the migration process. The tags must not begin with the reserved prefix
m4ce
or m2vm
.
map<string, string> migration_resources_user_tags = 8;
Returns |
Type |
Description |
int |
|
public Map<String,String> getMigrationResourcesUserTagsMap()
User specified tags to add to every M2VM generated resource in Azure.
These tags will be set in addition to the default tags that are set as part
of the migration process. The tags must not begin with the reserved prefix
m4ce
or m2vm
.
map<string, string> migration_resources_user_tags = 8;
public String getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)
User specified tags to add to every M2VM generated resource in Azure.
These tags will be set in addition to the default tags that are set as part
of the migration process. The tags must not begin with the reserved prefix
m4ce
or m2vm
.
map<string, string> migration_resources_user_tags = 8;
Returns |
Type |
Description |
String |
|
public String getMigrationResourcesUserTagsOrThrow(String key)
User specified tags to add to every M2VM generated resource in Azure.
These tags will be set in addition to the default tags that are set as part
of the migration process. The tags must not begin with the reserved prefix
m4ce
or m2vm
.
map<string, string> migration_resources_user_tags = 8;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getParserForType()
public Parser<AzureSourceDetails> getParserForType()
Overrides
getResourceGroupId()
public String getResourceGroupId()
Output only. The ID of the Azure resource group that contains all resources
related to the migration process of this source.
string resource_group_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The resourceGroupId.
|
getResourceGroupIdBytes()
public ByteString getResourceGroupIdBytes()
Output only. The ID of the Azure resource group that contains all resources
related to the migration process of this source.
string resource_group_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for resourceGroupId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public AzureSourceDetails.State getState()
Output only. State of the source as determined by the health check.
.google.cloud.vmmigration.v1.AzureSourceDetails.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the source as determined by the health check.
.google.cloud.vmmigration.v1.AzureSourceDetails.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSubscriptionId()
public String getSubscriptionId()
Immutable. Azure subscription ID.
string subscription_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
String |
The subscriptionId.
|
getSubscriptionIdBytes()
public ByteString getSubscriptionIdBytes()
Immutable. Azure subscription ID.
string subscription_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
ByteString |
The bytes for subscriptionId.
|
hasClientSecretCreds()
public boolean hasClientSecretCreds()
Azure Credentials using tenant ID, client ID and secret.
.google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials client_secret_creds = 9;
Returns |
Type |
Description |
boolean |
Whether the clientSecretCreds field is set.
|
hasError()
public boolean hasError()
Output only. Provides details on the state of the Source in case of an
error.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the error field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AzureSourceDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureSourceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AzureSourceDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides