Class Collector

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

    public final class Collector
    extends com.google.protobuf.GeneratedMessageV3
    implements CollectorOrBuilder
     Message describing Collector object.
     
    Protobuf type google.cloud.rapidmigrationassessment.v1.Collector
    See Also:
    Serialized Form
    • 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()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         name of resource.
         
        string name = 1;
        Specified by:
        getNameBytes in interface CollectorOrBuilder
        Returns:
        The bytes for name.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface CollectorOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface CollectorOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface CollectorOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface CollectorOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface CollectorOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface CollectorOrBuilder
      • getDisplayName

        public String getDisplayName()
         User specified name of the Collector.
         
        string display_name = 5;
        Specified by:
        getDisplayName in interface CollectorOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         User specified name of the Collector.
         
        string display_name = 5;
        Specified by:
        getDisplayNameBytes in interface CollectorOrBuilder
        Returns:
        The bytes for displayName.
      • getDescription

        public String getDescription()
         User specified description of the Collector.
         
        string description = 6;
        Specified by:
        getDescription in interface CollectorOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         User specified description of the Collector.
         
        string description = 6;
        Specified by:
        getDescriptionBytes in interface CollectorOrBuilder
        Returns:
        The bytes for description.
      • getServiceAccount

        public String getServiceAccount()
         Service Account email used to ingest data to this Collector.
         
        string service_account = 7;
        Specified by:
        getServiceAccount in interface CollectorOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         Service Account email used to ingest data to this Collector.
         
        string service_account = 7;
        Specified by:
        getServiceAccountBytes in interface CollectorOrBuilder
        Returns:
        The bytes for serviceAccount.
      • getBucket

        public String getBucket()
         Output only. Store cloud storage bucket name (which is a guid) created with
         this Collector.
         
        string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBucket in interface CollectorOrBuilder
        Returns:
        The bucket.
      • getBucketBytes

        public com.google.protobuf.ByteString getBucketBytes()
         Output only. Store cloud storage bucket name (which is a guid) created with
         this Collector.
         
        string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBucketBytes in interface CollectorOrBuilder
        Returns:
        The bytes for bucket.
      • getExpectedAssetCount

        public long getExpectedAssetCount()
         User specified expected asset count.
         
        int64 expected_asset_count = 9;
        Specified by:
        getExpectedAssetCount in interface CollectorOrBuilder
        Returns:
        The expectedAssetCount.
      • getStateValue

        public int getStateValue()
         Output only. State of the Collector.
         
        .google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface CollectorOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public Collector.State getState()
         Output only. State of the Collector.
         
        .google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface CollectorOrBuilder
        Returns:
        The state.
      • getClientVersion

        public String getClientVersion()
         Output only. Client version.
         
        string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientVersion in interface CollectorOrBuilder
        Returns:
        The clientVersion.
      • getClientVersionBytes

        public com.google.protobuf.ByteString getClientVersionBytes()
         Output only. Client version.
         
        string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientVersionBytes in interface CollectorOrBuilder
        Returns:
        The bytes for clientVersion.
      • hasGuestOsScan

        public boolean hasGuestOsScan()
         Output only. Reference to MC Source Guest Os Scan.
         
        .google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasGuestOsScan in interface CollectorOrBuilder
        Returns:
        Whether the guestOsScan field is set.
      • getGuestOsScan

        public GuestOsScan getGuestOsScan()
         Output only. Reference to MC Source Guest Os Scan.
         
        .google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGuestOsScan in interface CollectorOrBuilder
        Returns:
        The guestOsScan.
      • getGuestOsScanOrBuilder

        public GuestOsScanOrBuilder getGuestOsScanOrBuilder()
         Output only. Reference to MC Source Guest Os Scan.
         
        .google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGuestOsScanOrBuilder in interface CollectorOrBuilder
      • hasVsphereScan

        public boolean hasVsphereScan()
         Output only. Reference to MC Source vsphere_scan.
         
        .google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasVsphereScan in interface CollectorOrBuilder
        Returns:
        Whether the vsphereScan field is set.
      • getVsphereScan

        public VSphereScan getVsphereScan()
         Output only. Reference to MC Source vsphere_scan.
         
        .google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVsphereScan in interface CollectorOrBuilder
        Returns:
        The vsphereScan.
      • getVsphereScanOrBuilder

        public VSphereScanOrBuilder getVsphereScanOrBuilder()
         Output only. Reference to MC Source vsphere_scan.
         
        .google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVsphereScanOrBuilder in interface CollectorOrBuilder
      • getCollectionDays

        public int getCollectionDays()
         How many days to collect data.
         
        int32 collection_days = 14;
        Specified by:
        getCollectionDays in interface CollectorOrBuilder
        Returns:
        The collectionDays.
      • getEulaUri

        public String getEulaUri()
         Uri for EULA (End User License Agreement) from customer.
         
        string eula_uri = 15;
        Specified by:
        getEulaUri in interface CollectorOrBuilder
        Returns:
        The eulaUri.
      • getEulaUriBytes

        public com.google.protobuf.ByteString getEulaUriBytes()
         Uri for EULA (End User License Agreement) from customer.
         
        string eula_uri = 15;
        Specified by:
        getEulaUriBytes in interface CollectorOrBuilder
        Returns:
        The bytes for eulaUri.
      • 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 Collector parseFrom​(ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static Collector getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Collector> parser()
      • getParserForType

        public com.google.protobuf.Parser<Collector> 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 Collector getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder