java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.rapidmigrationassessment.v1.Collector
All Implemented Interfaces:
CollectorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Collector extends com.google.protobuf.GeneratedMessage implements CollectorOrBuilder
 Message describing Collector object.
 
Protobuf type google.cloud.rapidmigrationassessment.v1.Collector
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_FIELD_NUMBER
      See Also:
    • BUCKET_FIELD_NUMBER

      public static final int BUCKET_FIELD_NUMBER
      See Also:
    • EXPECTED_ASSET_COUNT_FIELD_NUMBER

      public static final int EXPECTED_ASSET_COUNT_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • CLIENT_VERSION_FIELD_NUMBER

      public static final int CLIENT_VERSION_FIELD_NUMBER
      See Also:
    • GUEST_OS_SCAN_FIELD_NUMBER

      public static final int GUEST_OS_SCAN_FIELD_NUMBER
      See Also:
    • VSPHERE_SCAN_FIELD_NUMBER

      public static final int VSPHERE_SCAN_FIELD_NUMBER
      See Also:
    • COLLECTION_DAYS_FIELD_NUMBER

      public static final int COLLECTION_DAYS_FIELD_NUMBER
      See Also:
    • EULA_URI_FIELD_NUMBER

      public static final int EULA_URI_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       name of resource.
       
      string name = 1;
      Specified by:
      getName in interface CollectorOrBuilder
      Returns:
      The name.
    • 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
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: CollectorOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface CollectorOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface CollectorOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface CollectorOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface CollectorOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface CollectorOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Collector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Collector parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Collector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Collector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static Collector.Builder newBuilder()
    • newBuilder

      public static Collector.Builder newBuilder(Collector prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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