Package com.google.cloud.vmmigration.v1
Class DatacenterConnector.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
- com.google.cloud.vmmigration.v1.DatacenterConnector.Builder
-
- All Implemented Interfaces:
DatacenterConnectorOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DatacenterConnector
public static final class DatacenterConnector.Builder extends com.google.protobuf.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 typegoogle.cloud.vmmigration.v1.DatacenterConnector
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatacenterConnector.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DatacenterConnector
build()
DatacenterConnector
buildPartial()
DatacenterConnector.Builder
clear()
DatacenterConnector.Builder
clearApplianceInfrastructureVersion()
Output only.DatacenterConnector.Builder
clearApplianceSoftwareVersion()
Output only.DatacenterConnector.Builder
clearAvailableVersions()
Output only.DatacenterConnector.Builder
clearBucket()
Output only.DatacenterConnector.Builder
clearCreateTime()
Output only.DatacenterConnector.Builder
clearError()
Output only.DatacenterConnector.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DatacenterConnector.Builder
clearName()
Output only.DatacenterConnector.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DatacenterConnector.Builder
clearRegistrationId()
Immutable.DatacenterConnector.Builder
clearServiceAccount()
The service account to use in the connector when communicating with the cloud.DatacenterConnector.Builder
clearState()
Output only.DatacenterConnector.Builder
clearStateTime()
Output only.DatacenterConnector.Builder
clearUpdateTime()
Output only.DatacenterConnector.Builder
clearUpgradeStatus()
Output only.DatacenterConnector.Builder
clearVersion()
The version running in the DatacenterConnector.DatacenterConnector.Builder
clone()
String
getApplianceInfrastructureVersion()
Output only.com.google.protobuf.ByteString
getApplianceInfrastructureVersionBytes()
Output only.String
getApplianceSoftwareVersion()
Output only.com.google.protobuf.ByteString
getApplianceSoftwareVersionBytes()
Output only.AvailableUpdates
getAvailableVersions()
Output only.AvailableUpdates.Builder
getAvailableVersionsBuilder()
Output only.AvailableUpdatesOrBuilder
getAvailableVersionsOrBuilder()
Output only.String
getBucket()
Output only.com.google.protobuf.ByteString
getBucketBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DatacenterConnector
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getRegistrationId()
Immutable.com.google.protobuf.ByteString
getRegistrationIdBytes()
Immutable.String
getServiceAccount()
The service account to use in the connector when communicating with the cloud.com.google.protobuf.ByteString
getServiceAccountBytes()
The service account to use in the connector when communicating with the cloud.DatacenterConnector.State
getState()
Output only.com.google.protobuf.Timestamp
getStateTime()
Output only.com.google.protobuf.Timestamp.Builder
getStateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStateTimeOrBuilder()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.UpgradeStatus
getUpgradeStatus()
Output only.UpgradeStatus.Builder
getUpgradeStatusBuilder()
Output only.UpgradeStatusOrBuilder
getUpgradeStatusOrBuilder()
Output only.String
getVersion()
The version running in the DatacenterConnector.com.google.protobuf.ByteString
getVersionBytes()
The version running in the DatacenterConnector.boolean
hasAvailableVersions()
Output only.boolean
hasCreateTime()
Output only.boolean
hasError()
Output only.boolean
hasStateTime()
Output only.boolean
hasUpdateTime()
Output only.boolean
hasUpgradeStatus()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DatacenterConnector.Builder
mergeAvailableVersions(AvailableUpdates value)
Output only.DatacenterConnector.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
mergeError(com.google.rpc.Status value)
Output only.DatacenterConnector.Builder
mergeFrom(DatacenterConnector other)
DatacenterConnector.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DatacenterConnector.Builder
mergeFrom(com.google.protobuf.Message other)
DatacenterConnector.Builder
mergeStateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DatacenterConnector.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
mergeUpgradeStatus(UpgradeStatus value)
Output only.DatacenterConnector.Builder
setApplianceInfrastructureVersion(String value)
Output only.DatacenterConnector.Builder
setApplianceInfrastructureVersionBytes(com.google.protobuf.ByteString value)
Output only.DatacenterConnector.Builder
setApplianceSoftwareVersion(String value)
Output only.DatacenterConnector.Builder
setApplianceSoftwareVersionBytes(com.google.protobuf.ByteString value)
Output only.DatacenterConnector.Builder
setAvailableVersions(AvailableUpdates value)
Output only.DatacenterConnector.Builder
setAvailableVersions(AvailableUpdates.Builder builderForValue)
Output only.DatacenterConnector.Builder
setBucket(String value)
Output only.DatacenterConnector.Builder
setBucketBytes(com.google.protobuf.ByteString value)
Output only.DatacenterConnector.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DatacenterConnector.Builder
setError(com.google.rpc.Status value)
Output only.DatacenterConnector.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.DatacenterConnector.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DatacenterConnector.Builder
setName(String value)
Output only.DatacenterConnector.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.DatacenterConnector.Builder
setRegistrationId(String value)
Immutable.DatacenterConnector.Builder
setRegistrationIdBytes(com.google.protobuf.ByteString value)
Immutable.DatacenterConnector.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DatacenterConnector.Builder
setServiceAccount(String value)
The service account to use in the connector when communicating with the cloud.DatacenterConnector.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account to use in the connector when communicating with the cloud.DatacenterConnector.Builder
setState(DatacenterConnector.State value)
Output only.DatacenterConnector.Builder
setStateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
setStateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DatacenterConnector.Builder
setStateValue(int value)
Output only.DatacenterConnector.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DatacenterConnector.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.DatacenterConnector.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DatacenterConnector.Builder
setUpgradeStatus(UpgradeStatus value)
Output only.DatacenterConnector.Builder
setUpgradeStatus(UpgradeStatus.Builder builderForValue)
Output only.DatacenterConnector.Builder
setVersion(String value)
The version running in the DatacenterConnector.DatacenterConnector.Builder
setVersionBytes(com.google.protobuf.ByteString value)
The version running in the DatacenterConnector.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clear
public DatacenterConnector.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
getDefaultInstanceForType
public DatacenterConnector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatacenterConnector build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatacenterConnector buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatacenterConnector.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
setField
public DatacenterConnector.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clearField
public DatacenterConnector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clearOneof
public DatacenterConnector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
setRepeatedField
public DatacenterConnector.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
addRepeatedField
public DatacenterConnector.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
mergeFrom
public DatacenterConnector.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DatacenterConnector.Builder>
-
mergeFrom
public DatacenterConnector.Builder mergeFrom(DatacenterConnector other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
mergeFrom
public DatacenterConnector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DatacenterConnector.Builder>
- Throws:
IOException
-
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];
- Specified by:
hasCreateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.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];
- Specified by:
getCreateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public DatacenterConnector.Builder setCreateTime(com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DatacenterConnector.Builder setCreateTime(com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DatacenterConnector.Builder mergeCreateTime(com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getCreateTimeOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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];
- Specified by:
getUpdateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public DatacenterConnector.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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];
-
setUpdateTime
public DatacenterConnector.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeUpdateTime
public DatacenterConnector.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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];
-
clearUpdateTime
public DatacenterConnector.Builder clearUpdateTime()
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];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
getName
public String getName()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for name.
-
setName
public DatacenterConnector.Builder setName(String value)
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DatacenterConnector.Builder clearName()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public DatacenterConnector.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getRegistrationId
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The registrationId.
-
getRegistrationIdBytes
public com.google.protobuf.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];
- Specified by:
getRegistrationIdBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for registrationId.
-
setRegistrationId
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 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The registrationId to set.- Returns:
- This builder for chaining.
-
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 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setRegistrationIdBytes
public DatacenterConnector.Builder setRegistrationIdBytes(com.google.protobuf.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 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for registrationId to set.- Returns:
- This builder for chaining.
-
getServiceAccount
public String getServiceAccount()
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
- Specified by:
getServiceAccount
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
- Specified by:
getServiceAccountBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public DatacenterConnector.Builder setServiceAccount(String value)
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
- Parameters:
value
- The serviceAccount to set.- Returns:
- 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:
- This builder for chaining.
-
setServiceAccountBytes
public DatacenterConnector.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account to use in the connector when communicating with the cloud.
string service_account = 5;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getVersion
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.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;
- Specified by:
getVersionBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for version.
-
setVersion
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;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVersionBytes
public DatacenterConnector.Builder setVersionBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getBucket
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bucket.
-
getBucketBytes
public com.google.protobuf.ByteString getBucketBytes()
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBucketBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for bucket.
-
setBucket
public DatacenterConnector.Builder setBucket(String value)
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bucket to set.- Returns:
- This builder for chaining.
-
clearBucket
public DatacenterConnector.Builder clearBucket()
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setBucketBytes
public DatacenterConnector.Builder setBucketBytes(com.google.protobuf.ByteString value)
Output only. The communication channel between the datacenter connector and Google Cloud.
string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for bucket to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getStateValue
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public DatacenterConnector.Builder setStateValue(int value)
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The state.
-
setState
public DatacenterConnector.Builder setState(DatacenterConnector.State value)
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];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public DatacenterConnector.Builder clearState()
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:
- This builder for chaining.
-
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];
- Specified by:
hasStateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the stateTime field is set.
-
getStateTime
public com.google.protobuf.Timestamp getStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateTime
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The stateTime.
-
setStateTime
public DatacenterConnector.Builder setStateTime(com.google.protobuf.Timestamp value)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStateTime
public DatacenterConnector.Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStateTime
public DatacenterConnector.Builder mergeStateTime(com.google.protobuf.Timestamp value)
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStateTime
public DatacenterConnector.Builder clearStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateTimeBuilder
public com.google.protobuf.Timestamp.Builder getStateTimeBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateTimeOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
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];
- Specified by:
hasError
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.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];
- Specified by:
getError
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The error.
-
setError
public DatacenterConnector.Builder setError(com.google.rpc.Status value)
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];
-
setError
public DatacenterConnector.Builder setError(com.google.rpc.Status.Builder builderForValue)
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];
-
mergeError
public DatacenterConnector.Builder mergeError(com.google.rpc.Status value)
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];
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
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];
-
getErrorOrBuilder
public com.google.rpc.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];
- Specified by:
getErrorOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
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];
- Specified by:
getApplianceInfrastructureVersion
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The applianceInfrastructureVersion.
-
getApplianceInfrastructureVersionBytes
public com.google.protobuf.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];
- Specified by:
getApplianceInfrastructureVersionBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for applianceInfrastructureVersion.
-
setApplianceInfrastructureVersion
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The applianceInfrastructureVersion to set.- Returns:
- This builder for chaining.
-
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setApplianceInfrastructureVersionBytes
public DatacenterConnector.Builder setApplianceInfrastructureVersionBytes(com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for applianceInfrastructureVersion to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getApplianceSoftwareVersion
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The applianceSoftwareVersion.
-
getApplianceSoftwareVersionBytes
public com.google.protobuf.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];
- Specified by:
getApplianceSoftwareVersionBytes
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The bytes for applianceSoftwareVersion.
-
setApplianceSoftwareVersion
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The applianceSoftwareVersion to set.- Returns:
- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setApplianceSoftwareVersionBytes
public DatacenterConnector.Builder setApplianceSoftwareVersionBytes(com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for applianceSoftwareVersion to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasAvailableVersions
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the availableVersions field is set.
-
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];
- Specified by:
getAvailableVersions
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The availableVersions.
-
setAvailableVersions
public DatacenterConnector.Builder setAvailableVersions(AvailableUpdates value)
Output only. The available versions for updating this appliance.
.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setAvailableVersions
public DatacenterConnector.Builder setAvailableVersions(AvailableUpdates.Builder builderForValue)
Output only. The available versions for updating this appliance.
.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeAvailableVersions
public DatacenterConnector.Builder mergeAvailableVersions(AvailableUpdates value)
Output only. The available versions for updating this appliance.
.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearAvailableVersions
public DatacenterConnector.Builder clearAvailableVersions()
Output only. The available versions for updating this appliance.
.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAvailableVersionsBuilder
public AvailableUpdates.Builder getAvailableVersionsBuilder()
Output only. The available versions for updating this appliance.
.google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
- Specified by:
getAvailableVersionsOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
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];
- Specified by:
hasUpgradeStatus
in interfaceDatacenterConnectorOrBuilder
- Returns:
- Whether the upgradeStatus field is set.
-
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];
- Specified by:
getUpgradeStatus
in interfaceDatacenterConnectorOrBuilder
- Returns:
- The upgradeStatus.
-
setUpgradeStatus
public DatacenterConnector.Builder setUpgradeStatus(UpgradeStatus value)
Output only. The status of the current / last upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpgradeStatus
public DatacenterConnector.Builder setUpgradeStatus(UpgradeStatus.Builder builderForValue)
Output only. The status of the current / last upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpgradeStatus
public DatacenterConnector.Builder mergeUpgradeStatus(UpgradeStatus value)
Output only. The status of the current / last upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpgradeStatus
public DatacenterConnector.Builder clearUpgradeStatus()
Output only. The status of the current / last upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpgradeStatusBuilder
public UpgradeStatus.Builder getUpgradeStatusBuilder()
Output only. The status of the current / last upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
- Specified by:
getUpgradeStatusOrBuilder
in interfaceDatacenterConnectorOrBuilder
-
setUnknownFields
public final DatacenterConnector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
mergeUnknownFields
public final DatacenterConnector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
-