Class DatacenterConnector (1.9.0)

public final class DatacenterConnector extends GeneratedMessageV3 implements DatacenterConnectorOrBuilder

DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.

Protobuf type google.cloud.vmmigration.v1.DatacenterConnector

Static Fields

APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER

public static final int APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER

public static final int APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

AVAILABLE_VERSIONS_FIELD_NUMBER

public static final int AVAILABLE_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

REGISTRATION_ID_FIELD_NUMBER

public static final int REGISTRATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_TIME_FIELD_NUMBER

public static final int STATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

UPGRADE_STATUS_FIELD_NUMBER

public static final int UPGRADE_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatacenterConnector getDefaultInstance()
Returns
TypeDescription
DatacenterConnector

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatacenterConnector.Builder newBuilder()
Returns
TypeDescription
DatacenterConnector.Builder

newBuilder(DatacenterConnector prototype)

public static DatacenterConnector.Builder newBuilder(DatacenterConnector prototype)
Parameter
NameDescription
prototypeDatacenterConnector
Returns
TypeDescription
DatacenterConnector.Builder

parseDelimitedFrom(InputStream input)

public static DatacenterConnector parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatacenterConnector parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatacenterConnector parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatacenterConnector parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatacenterConnector parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatacenterConnector parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatacenterConnector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatacenterConnector
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DatacenterConnector> parser()
Returns
TypeDescription
Parser<DatacenterConnector>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApplianceInfrastructureVersion()

public String getApplianceInfrastructureVersion()

Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.

string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The applianceInfrastructureVersion.

getApplianceInfrastructureVersionBytes()

public ByteString getApplianceInfrastructureVersionBytes()

Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.

string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for applianceInfrastructureVersion.

getApplianceSoftwareVersion()

public String getApplianceSoftwareVersion()

Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.

string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The applianceSoftwareVersion.

getApplianceSoftwareVersionBytes()

public ByteString getApplianceSoftwareVersionBytes()

Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.

string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for applianceSoftwareVersion.

getAvailableVersions()

public AvailableUpdates getAvailableVersions()

Output only. The available versions for updating this appliance.

.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AvailableUpdates

The availableVersions.

getAvailableVersionsOrBuilder()

public AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder()

Output only. The available versions for updating this appliance.

.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AvailableUpdatesOrBuilder

getBucket()

public String getBucket()

Output only. The communication channel between the datacenter connector and Google Cloud.

string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Output only. The communication channel between the datacenter connector and Google Cloud.

string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for bucket.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the connector was created (as an API call, not when it was actually installed).

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the connector was created (as an API call, not when it was actually installed).

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DatacenterConnector getDefaultInstanceForType()
Returns
TypeDescription
DatacenterConnector

getError()

public Status getError()

Output only. Provides details on the state of the Datacenter Connector in case of an error.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Provides details on the state of the Datacenter Connector in case of an error.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getName()

public String getName()

Output only. The connector's name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The connector's name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DatacenterConnector> getParserForType()
Returns
TypeDescription
Parser<DatacenterConnector>
Overrides

getRegistrationId()

public String getRegistrationId()

Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.

string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The registrationId.

getRegistrationIdBytes()

public ByteString getRegistrationIdBytes()

Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.

string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for registrationId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAccount()

public String getServiceAccount()

The service account to use in the connector when communicating with the cloud.

string service_account = 5;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

The service account to use in the connector when communicating with the cloud.

string service_account = 5;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getState()

public DatacenterConnector.State getState()

Output only. State of the DatacenterConnector, as determined by the health checks.

.google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatacenterConnector.State

The state.

getStateTime()

public Timestamp getStateTime()

Output only. The time the state was last set.

.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The stateTime.

getStateTimeOrBuilder()

public TimestampOrBuilder getStateTimeOrBuilder()

Output only. The time the state was last set.

.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public int getStateValue()

Output only. State of the DatacenterConnector, as determined by the health checks.

.google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last time the connector was updated with an API call.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last time the connector was updated with an API call.

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

Returns
TypeDescription
TimestampOrBuilder

getUpgradeStatus()

public UpgradeStatus getUpgradeStatus()

Output only. The status of the current / last upgradeAppliance operation.

.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UpgradeStatus

The upgradeStatus.

getUpgradeStatusOrBuilder()

public UpgradeStatusOrBuilder getUpgradeStatusOrBuilder()

Output only. The status of the current / last upgradeAppliance operation.

.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UpgradeStatusOrBuilder

getVersion()

public String getVersion()

The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

string version = 6;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

string version = 6;

Returns
TypeDescription
ByteString

The bytes for version.

hasAvailableVersions()

public boolean hasAvailableVersions()

Output only. The available versions for updating this appliance.

.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the availableVersions field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the connector was created (as an API call, not when it was actually installed).

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasError()

public boolean hasError()

Output only. Provides details on the state of the Datacenter Connector in case of an error.

.google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the error field is set.

hasStateTime()

public boolean hasStateTime()

Output only. The time the state was last set.

.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the stateTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last time the connector was updated with an API call.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasUpgradeStatus()

public boolean hasUpgradeStatus()

Output only. The status of the current / last upgradeAppliance operation.

.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the upgradeStatus field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatacenterConnector.Builder newBuilderForType()
Returns
TypeDescription
DatacenterConnector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatacenterConnector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatacenterConnector.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatacenterConnector.Builder toBuilder()
Returns
TypeDescription
DatacenterConnector.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException