public static final class DatacenterConnector.Builder extends GeneratedMessageV3.Builder<DatacenterConnector.Builder> 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.events.cloud.vmmigration.v1.DatacenterConnector
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatacenterConnector.BuilderImplements
DatacenterConnectorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatacenterConnector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
build()
public DatacenterConnector build()
Returns | |
---|---|
Type | Description |
DatacenterConnector |
buildPartial()
public DatacenterConnector buildPartial()
Returns | |
---|---|
Type | Description |
DatacenterConnector |
clear()
public DatacenterConnector.Builder clear()
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearApplianceInfrastructureVersion()
public DatacenterConnector.Builder clearApplianceInfrastructureVersion()
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;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearApplianceSoftwareVersion()
public DatacenterConnector.Builder clearApplianceSoftwareVersion()
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;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearAvailableVersions()
public DatacenterConnector.Builder clearAvailableVersions()
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearBucket()
public DatacenterConnector.Builder clearBucket()
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearCreateTime()
public DatacenterConnector.Builder clearCreateTime()
Output only. The time the connector was created (as an API call, not when it was actually installed).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearError()
public DatacenterConnector.Builder clearError()
Output only. Provides details on the state of the Datacenter Connector in case of an error.
.google.rpc.Status error = 11;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearField(Descriptors.FieldDescriptor field)
public DatacenterConnector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearName()
public DatacenterConnector.Builder clearName()
Output only. The connector's name.
string name = 3;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatacenterConnector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearRegistrationId()
public DatacenterConnector.Builder clearRegistrationId()
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;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearServiceAccount()
public DatacenterConnector.Builder clearServiceAccount()
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearState()
public DatacenterConnector.Builder clearState()
Output only. State of the DatacenterConnector, as determined by the health checks.
.google.events.cloud.vmmigration.v1.DatacenterConnector.State state = 7;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
clearStateTime()
public DatacenterConnector.Builder clearStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearUpdateTime()
public DatacenterConnector.Builder clearUpdateTime()
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearUpgradeStatus()
public DatacenterConnector.Builder clearUpgradeStatus()
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
clearVersion()
public DatacenterConnector.Builder clearVersion()
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 |
DatacenterConnector.Builder |
This builder for chaining. |
clone()
public DatacenterConnector.Builder clone()
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for applianceSoftwareVersion. |
getAvailableVersions()
public AvailableUpdates getAvailableVersions()
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Returns | |
---|---|
Type | Description |
AvailableUpdates |
The availableVersions. |
getAvailableVersionsBuilder()
public AvailableUpdates.Builder getAvailableVersionsBuilder()
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Returns | |
---|---|
Type | Description |
AvailableUpdates.Builder |
getAvailableVersionsOrBuilder()
public AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder()
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Returns | |
---|---|
Type | Description |
AvailableUpdatesOrBuilder |
getBucket()
public String getBucket()
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10;
Returns | |
---|---|
Type | Description |
String |
The bucket. |
getBucketBytes()
public ByteString getBucketBytes()
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the connector was created (as an API call, not when it was actually installed).
.google.protobuf.Timestamp create_time = 1;
Returns | |
---|---|
Type | Description |
Builder |
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DatacenterConnector getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DatacenterConnector |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. Provides details on the state of the Datacenter Connector in case of an error.
.google.rpc.Status error = 11;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
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;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getName()
public String getName()
Output only. The connector's name.
string name = 3;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The connector's name.
string name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
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;
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for registrationId. |
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.events.cloud.vmmigration.v1.DatacenterConnector.State state = 7;
Returns | |
---|---|
Type | Description |
DatacenterConnector.State |
The state. |
getStateTime()
public Timestamp getStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Returns | |
---|---|
Type | Description |
Timestamp |
The stateTime. |
getStateTimeBuilder()
public Timestamp.Builder getStateTimeBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Returns | |
---|---|
Type | Description |
Builder |
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStateValue()
public int getStateValue()
Output only. State of the DatacenterConnector, as determined by the health checks.
.google.events.cloud.vmmigration.v1.DatacenterConnector.State state = 7;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUpgradeStatus()
public UpgradeStatus getUpgradeStatus()
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Returns | |
---|---|
Type | Description |
UpgradeStatus |
The upgradeStatus. |
getUpgradeStatusBuilder()
public UpgradeStatus.Builder getUpgradeStatusBuilder()
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Returns | |
---|---|
Type | Description |
UpgradeStatus.Builder |
getUpgradeStatusOrBuilder()
public UpgradeStatusOrBuilder getUpgradeStatusOrBuilder()
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
hasAvailableVersions()
public boolean hasAvailableVersions()
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Returns | |
---|---|
Type | Description |
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;
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;
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;
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
hasUpgradeStatus()
public boolean hasUpgradeStatus()
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the upgradeStatus field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAvailableVersions(AvailableUpdates value)
public DatacenterConnector.Builder mergeAvailableVersions(AvailableUpdates value)
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Parameter | |
---|---|
Name | Description |
value |
AvailableUpdates |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeCreateTime(Timestamp value)
public DatacenterConnector.Builder mergeCreateTime(Timestamp value)
Output only. The time the connector was created (as an API call, not when it was actually installed).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeError(Status value)
public DatacenterConnector.Builder mergeError(Status value)
Output only. Provides details on the state of the Datacenter Connector in case of an error.
.google.rpc.Status error = 11;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeFrom(DatacenterConnector other)
public DatacenterConnector.Builder mergeFrom(DatacenterConnector other)
Parameter | |
---|---|
Name | Description |
other |
DatacenterConnector |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatacenterConnector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DatacenterConnector.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeStateTime(Timestamp value)
public DatacenterConnector.Builder mergeStateTime(Timestamp value)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatacenterConnector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeUpdateTime(Timestamp value)
public DatacenterConnector.Builder mergeUpdateTime(Timestamp value)
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
mergeUpgradeStatus(UpgradeStatus value)
public DatacenterConnector.Builder mergeUpgradeStatus(UpgradeStatus value)
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Parameter | |
---|---|
Name | Description |
value |
UpgradeStatus |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setApplianceInfrastructureVersion(String value)
public DatacenterConnector.Builder setApplianceInfrastructureVersion(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The applianceInfrastructureVersion to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setApplianceInfrastructureVersionBytes(ByteString value)
public DatacenterConnector.Builder setApplianceInfrastructureVersionBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for applianceInfrastructureVersion to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setApplianceSoftwareVersion(String value)
public DatacenterConnector.Builder setApplianceSoftwareVersion(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The applianceSoftwareVersion to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setApplianceSoftwareVersionBytes(ByteString value)
public DatacenterConnector.Builder setApplianceSoftwareVersionBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for applianceSoftwareVersion to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setAvailableVersions(AvailableUpdates value)
public DatacenterConnector.Builder setAvailableVersions(AvailableUpdates value)
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Parameter | |
---|---|
Name | Description |
value |
AvailableUpdates |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setAvailableVersions(AvailableUpdates.Builder builderForValue)
public DatacenterConnector.Builder setAvailableVersions(AvailableUpdates.Builder builderForValue)
Output only. The available versions for updating this appliance.
.google.events.cloud.vmmigration.v1.AvailableUpdates available_versions = 15;
Parameter | |
---|---|
Name | Description |
builderForValue |
AvailableUpdates.Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setBucket(String value)
public DatacenterConnector.Builder setBucket(String value)
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10;
Parameter | |
---|---|
Name | Description |
value |
String The bucket to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
public DatacenterConnector.Builder setBucketBytes(ByteString value)
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for bucket to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public DatacenterConnector.Builder setCreateTime(Timestamp value)
Output only. The time the connector was created (as an API call, not when it was actually installed).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DatacenterConnector.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the connector was created (as an API call, not when it was actually installed).
.google.protobuf.Timestamp create_time = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setError(Status value)
public DatacenterConnector.Builder setError(Status value)
Output only. Provides details on the state of the Datacenter Connector in case of an error.
.google.rpc.Status error = 11;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setError(Status.Builder builderForValue)
public DatacenterConnector.Builder setError(Status.Builder builderForValue)
Output only. Provides details on the state of the Datacenter Connector in case of an error.
.google.rpc.Status error = 11;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DatacenterConnector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setName(String value)
public DatacenterConnector.Builder setName(String value)
Output only. The connector's name.
string name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DatacenterConnector.Builder setNameBytes(ByteString value)
Output only. The connector's name.
string name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setRegistrationId(String value)
public DatacenterConnector.Builder setRegistrationId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The registrationId to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setRegistrationIdBytes(ByteString value)
public DatacenterConnector.Builder setRegistrationIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for registrationId to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatacenterConnector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setServiceAccount(String value)
public DatacenterConnector.Builder setServiceAccount(String value)
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
Parameter | |
---|---|
Name | Description |
value |
String The serviceAccount to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public DatacenterConnector.Builder setServiceAccountBytes(ByteString value)
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceAccount to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setState(DatacenterConnector.State value)
public DatacenterConnector.Builder setState(DatacenterConnector.State value)
Output only. State of the DatacenterConnector, as determined by the health checks.
.google.events.cloud.vmmigration.v1.DatacenterConnector.State state = 7;
Parameter | |
---|---|
Name | Description |
value |
DatacenterConnector.State The state to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setStateTime(Timestamp value)
public DatacenterConnector.Builder setStateTime(Timestamp value)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setStateTime(Timestamp.Builder builderForValue)
public DatacenterConnector.Builder setStateTime(Timestamp.Builder builderForValue)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setStateValue(int value)
public DatacenterConnector.Builder setStateValue(int value)
Output only. State of the DatacenterConnector, as determined by the health checks.
.google.events.cloud.vmmigration.v1.DatacenterConnector.State state = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatacenterConnector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setUpdateTime(Timestamp value)
public DatacenterConnector.Builder setUpdateTime(Timestamp value)
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DatacenterConnector.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last time the connector was updated with an API call.
.google.protobuf.Timestamp update_time = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setUpgradeStatus(UpgradeStatus value)
public DatacenterConnector.Builder setUpgradeStatus(UpgradeStatus value)
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Parameter | |
---|---|
Name | Description |
value |
UpgradeStatus |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setUpgradeStatus(UpgradeStatus.Builder builderForValue)
public DatacenterConnector.Builder setUpgradeStatus(UpgradeStatus.Builder builderForValue)
Output only. The status of the current / last upgradeAppliance operation.
.google.events.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16;
Parameter | |
---|---|
Name | Description |
builderForValue |
UpgradeStatus.Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
setVersion(String value)
public DatacenterConnector.Builder setVersion(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public DatacenterConnector.Builder setVersionBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
DatacenterConnector.Builder |
This builder for chaining. |