Class AzureSourceDetails (1.74.0)

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

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

MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER

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()
Returns
Type Description
AzureSourceDetails

getDescriptor()

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

newBuilder()

public static AzureSourceDetails.Builder newBuilder()
Returns
Type Description
AzureSourceDetails.Builder

newBuilder(AzureSourceDetails prototype)

public static AzureSourceDetails.Builder newBuilder(AzureSourceDetails prototype)
Parameter
Name Description
prototype AzureSourceDetails
Returns
Type Description
AzureSourceDetails.Builder

parseDelimitedFrom(InputStream input)

public static AzureSourceDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureSourceDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureSourceDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureSourceDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureSourceDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureSourceDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureSourceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureSourceDetails> parser()
Returns
Type Description
Parser<AzureSourceDetails>

Methods

containsMigrationResourcesUserTags(String key)

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
AzureSourceDetails.ClientSecretCredentials

The clientSecretCreds.

getClientSecretCredsOrBuilder()

public AzureSourceDetails.ClientSecretCredentialsOrBuilder getClientSecretCredsOrBuilder()

Azure Credentials using tenant ID, client ID and secret.

.google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials client_secret_creds = 9;

Returns
Type Description
AzureSourceDetails.ClientSecretCredentialsOrBuilder

getCredentialsTypeCase()

public AzureSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
Type Description
AzureSourceDetails.CredentialsTypeCase

getDefaultInstanceForType()

public AzureSourceDetails getDefaultInstanceForType()
Returns
Type Description
AzureSourceDetails

getError()

public Status 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

getMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMigrationResourcesUserTags()
Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsCount()

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

getMigrationResourcesUserTagsMap()

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;

Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)

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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getMigrationResourcesUserTagsOrThrow(String key)

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()
Returns
Type Description
Parser<AzureSourceDetails>
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];

Returns
Type Description
AzureSourceDetails.State

The state.

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()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureSourceDetails.Builder newBuilderForType()
Returns
Type Description
AzureSourceDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureSourceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureSourceDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureSourceDetails.Builder toBuilder()
Returns
Type Description
AzureSourceDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException