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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DatacenterConnectorbuild()DatacenterConnectorbuildPartial()DatacenterConnector.Builderclear()DatacenterConnector.BuilderclearApplianceInfrastructureVersion()Output only.DatacenterConnector.BuilderclearApplianceSoftwareVersion()Output only.DatacenterConnector.BuilderclearAvailableVersions()Output only.DatacenterConnector.BuilderclearBucket()Output only.DatacenterConnector.BuilderclearCreateTime()Output only.DatacenterConnector.BuilderclearError()Output only.DatacenterConnector.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DatacenterConnector.BuilderclearName()Output only.DatacenterConnector.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DatacenterConnector.BuilderclearRegistrationId()Immutable.DatacenterConnector.BuilderclearServiceAccount()The service account to use in the connector when communicating with the cloud.DatacenterConnector.BuilderclearState()Output only.DatacenterConnector.BuilderclearStateTime()Output only.DatacenterConnector.BuilderclearUpdateTime()Output only.DatacenterConnector.BuilderclearUpgradeStatus()Output only.DatacenterConnector.BuilderclearVersion()The version running in the DatacenterConnector.DatacenterConnector.Builderclone()StringgetApplianceInfrastructureVersion()Output only.com.google.protobuf.ByteStringgetApplianceInfrastructureVersionBytes()Output only.StringgetApplianceSoftwareVersion()Output only.com.google.protobuf.ByteStringgetApplianceSoftwareVersionBytes()Output only.AvailableUpdatesgetAvailableVersions()Output only.AvailableUpdates.BuildergetAvailableVersionsBuilder()Output only.AvailableUpdatesOrBuildergetAvailableVersionsOrBuilder()Output only.StringgetBucket()Output only.com.google.protobuf.ByteStringgetBucketBytes()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DatacenterConnectorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetRegistrationId()Immutable.com.google.protobuf.ByteStringgetRegistrationIdBytes()Immutable.StringgetServiceAccount()The service account to use in the connector when communicating with the cloud.com.google.protobuf.ByteStringgetServiceAccountBytes()The service account to use in the connector when communicating with the cloud.DatacenterConnector.StategetState()Output only.com.google.protobuf.TimestampgetStateTime()Output only.com.google.protobuf.Timestamp.BuildergetStateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStateTimeOrBuilder()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.UpgradeStatusgetUpgradeStatus()Output only.UpgradeStatus.BuildergetUpgradeStatusBuilder()Output only.UpgradeStatusOrBuildergetUpgradeStatusOrBuilder()Output only.StringgetVersion()The version running in the DatacenterConnector.com.google.protobuf.ByteStringgetVersionBytes()The version running in the DatacenterConnector.booleanhasAvailableVersions()Output only.booleanhasCreateTime()Output only.booleanhasError()Output only.booleanhasStateTime()Output only.booleanhasUpdateTime()Output only.booleanhasUpgradeStatus()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DatacenterConnector.BuildermergeAvailableVersions(AvailableUpdates value)Output only.DatacenterConnector.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildermergeError(com.google.rpc.Status value)Output only.DatacenterConnector.BuildermergeFrom(DatacenterConnector other)DatacenterConnector.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DatacenterConnector.BuildermergeFrom(com.google.protobuf.Message other)DatacenterConnector.BuildermergeStateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DatacenterConnector.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildermergeUpgradeStatus(UpgradeStatus value)Output only.DatacenterConnector.BuildersetApplianceInfrastructureVersion(String value)Output only.DatacenterConnector.BuildersetApplianceInfrastructureVersionBytes(com.google.protobuf.ByteString value)Output only.DatacenterConnector.BuildersetApplianceSoftwareVersion(String value)Output only.DatacenterConnector.BuildersetApplianceSoftwareVersionBytes(com.google.protobuf.ByteString value)Output only.DatacenterConnector.BuildersetAvailableVersions(AvailableUpdates value)Output only.DatacenterConnector.BuildersetAvailableVersions(AvailableUpdates.Builder builderForValue)Output only.DatacenterConnector.BuildersetBucket(String value)Output only.DatacenterConnector.BuildersetBucketBytes(com.google.protobuf.ByteString value)Output only.DatacenterConnector.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DatacenterConnector.BuildersetError(com.google.rpc.Status value)Output only.DatacenterConnector.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.DatacenterConnector.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DatacenterConnector.BuildersetName(String value)Output only.DatacenterConnector.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.DatacenterConnector.BuildersetRegistrationId(String value)Immutable.DatacenterConnector.BuildersetRegistrationIdBytes(com.google.protobuf.ByteString value)Immutable.DatacenterConnector.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DatacenterConnector.BuildersetServiceAccount(String value)The service account to use in the connector when communicating with the cloud.DatacenterConnector.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)The service account to use in the connector when communicating with the cloud.DatacenterConnector.BuildersetState(DatacenterConnector.State value)Output only.DatacenterConnector.BuildersetStateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildersetStateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DatacenterConnector.BuildersetStateValue(int value)Output only.DatacenterConnector.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DatacenterConnector.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.DatacenterConnector.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DatacenterConnector.BuildersetUpgradeStatus(UpgradeStatus value)Output only.DatacenterConnector.BuildersetUpgradeStatus(UpgradeStatus.Builder builderForValue)Output only.DatacenterConnector.BuildersetVersion(String value)The version running in the DatacenterConnector.DatacenterConnector.BuildersetVersionBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clear
public DatacenterConnector.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
getDefaultInstanceForType
public DatacenterConnector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatacenterConnector build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatacenterConnector buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatacenterConnector.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
setField
public DatacenterConnector.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clearField
public DatacenterConnector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
clearOneof
public DatacenterConnector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
setRepeatedField
public DatacenterConnector.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
addRepeatedField
public DatacenterConnector.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
mergeFrom
public DatacenterConnector.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatacenterConnector.Builder>
-
mergeFrom
public DatacenterConnector.Builder mergeFrom(DatacenterConnector other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceDatacenterConnectorOrBuilder
-
getName
public String getName()
Output only. The connector's name.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein 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:
getNameBytesin 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:
getRegistrationIdin 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:
getRegistrationIdBytesin 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:
getServiceAccountin 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:
getServiceAccountBytesin 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:
getVersionin 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:
getVersionBytesin 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:
getBucketin 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:
getBucketBytesin 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:
getStateValuein 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:
getStatein 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:
hasStateTimein 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:
getStateTimein 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:
getStateTimeOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin 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:
getApplianceInfrastructureVersionin 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:
getApplianceInfrastructureVersionBytesin 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:
getApplianceSoftwareVersionin 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:
getApplianceSoftwareVersionBytesin 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:
hasAvailableVersionsin 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:
getAvailableVersionsin 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:
getAvailableVersionsOrBuilderin 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:
hasUpgradeStatusin 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:
getUpgradeStatusin 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:
getUpgradeStatusOrBuilderin interfaceDatacenterConnectorOrBuilder
-
setUnknownFields
public final DatacenterConnector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
mergeUnknownFields
public final DatacenterConnector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
-
-