Class 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 type google.cloud.vmmigration.v1.DatacenterConnector
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • clear

        public DatacenterConnector.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • getDefaultInstanceForType

        public DatacenterConnector getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DatacenterConnector build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DatacenterConnector buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DatacenterConnector.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • setField

        public DatacenterConnector.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • clearField

        public DatacenterConnector.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • clearOneof

        public DatacenterConnector.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • addRepeatedField

        public DatacenterConnector.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • mergeFrom

        public DatacenterConnector.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatacenterConnector.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
      • 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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
      • getName

        public String getName()
         Output only. The connector's name.
         
        string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
      • 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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
      • 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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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];
      • 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 interface DatacenterConnectorOrBuilder
        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 interface DatacenterConnectorOrBuilder
        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];
      • setUnknownFields

        public final DatacenterConnector.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>
      • mergeUnknownFields

        public final DatacenterConnector.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DatacenterConnector.Builder>