public final class DatacenterConnector extends GeneratedMessageV3 implements DatacenterConnectorOrBuilder
DatacenterConnector message describes a connector between the Source and GCP,
which is installed on a vmware datacenter (an OVA vm installed by the user)
to connect the Datacenter to GCP and support vm migration data transfer.
Protobuf type google.cloud.vmmigration.v1.DatacenterConnector
Static Fields
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
REGISTRATION_ID_FIELD_NUMBER
public static final int REGISTRATION_ID_FIELD_NUMBER
Field Value
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DatacenterConnector getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DatacenterConnector.Builder newBuilder()
Returns
newBuilder(DatacenterConnector prototype)
public static DatacenterConnector.Builder newBuilder(DatacenterConnector prototype)
Parameter
Returns
public static DatacenterConnector parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatacenterConnector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DatacenterConnector parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatacenterConnector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DatacenterConnector parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatacenterConnector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatacenterConnector parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DatacenterConnector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatacenterConnector parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatacenterConnector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DatacenterConnector parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatacenterConnector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DatacenterConnector> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBucket()
public String getBucket()
Output only. The communication channel between the datacenter connector and GCP.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Output only. The communication channel between the datacenter connector and GCP.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
getDefaultInstanceForType()
public DatacenterConnector getDefaultInstanceForType()
Returns
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
Type | Description |
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
Type | Description |
com.google.rpc.StatusOrBuilder | |
getName()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<DatacenterConnector> getParserForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for registrationId.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServiceAccount()
public String getServiceAccount()
The service account to use in the connector when communicating with the
cloud.
string service_account = 5;
Returns
Type | Description |
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
Type | Description |
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
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
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
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
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
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
Type | Description |
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
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DatacenterConnector.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatacenterConnector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DatacenterConnector.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions