Class DatacenterConnector

  • All Implemented Interfaces:
    DatacenterConnectorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class DatacenterConnector
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Field Detail

      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPDATE_TIME_FIELD_NUMBER

        public static final int UPDATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REGISTRATION_ID_FIELD_NUMBER

        public static final int REGISTRATION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_ACCOUNT_FIELD_NUMBER

        public static final int SERVICE_ACCOUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATE_TIME_FIELD_NUMBER

        public static final int STATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER

        public static final int APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER

        public static final int APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AVAILABLE_VERSIONS_FIELD_NUMBER

        public static final int AVAILABLE_VERSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPGRADE_STATUS_FIELD_NUMBER

        public static final int UPGRADE_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DatacenterConnector parseFrom​(ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DatacenterConnector parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected DatacenterConnector.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DatacenterConnector> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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