Class Collector
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage describing Collector object.static enum-- Using suggestion from API Linter Analyzer for nesting enum -- -- https://linter.aip.dev/216/nesting -- State of a Collector (server_side).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels as key value pairs.booleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intHow many days to collect data.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static CollectorUser specified description of the Collector.com.google.protobuf.ByteStringUser specified description of the Collector.static final com.google.protobuf.Descriptors.DescriptorUser specified name of the Collector.com.google.protobuf.ByteStringUser specified name of the Collector.Uri for EULA (End User License Agreement) from customer.com.google.protobuf.ByteStringUri for EULA (End User License Agreement) from customer.longUser specified expected asset count.Output only.Output only.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.getName()name of resource.com.google.protobuf.ByteStringname of resource.com.google.protobuf.Parser<Collector>intService Account email used to ingest data to this Collector.com.google.protobuf.ByteStringService Account email used to ingest data to this Collector.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Collector.Builderstatic Collector.BuildernewBuilder(Collector prototype) protected Collector.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CollectorparseDelimitedFrom(InputStream input) static CollectorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CollectorparseFrom(byte[] data) static CollectorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CollectorparseFrom(com.google.protobuf.ByteString data) static CollectorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CollectorparseFrom(com.google.protobuf.CodedInputStream input) static CollectorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CollectorparseFrom(InputStream input) static CollectorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CollectorparseFrom(ByteBuffer data) static CollectorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collector>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
name of resource.
string name = 1;- Specified by:
getNamein interfaceCollectorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of resource.
string name = 1;- Specified by:
getNameBytesin interfaceCollectorOrBuilder- 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:
hasCreateTimein interfaceCollectorOrBuilder- 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:
getCreateTimein interfaceCollectorOrBuilder- 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:
getCreateTimeOrBuilderin interfaceCollectorOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceCollectorOrBuilder- 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:
getUpdateTimein interfaceCollectorOrBuilder- 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:
getUpdateTimeOrBuilderin interfaceCollectorOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CollectorOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceCollectorOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceCollectorOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCollectorOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceCollectorOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceCollectorOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceCollectorOrBuilder
-
getDisplayName
User specified name of the Collector.
string display_name = 5;- Specified by:
getDisplayNamein interfaceCollectorOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()User specified name of the Collector.
string display_name = 5;- Specified by:
getDisplayNameBytesin interfaceCollectorOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
User specified description of the Collector.
string description = 6;- Specified by:
getDescriptionin interfaceCollectorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User specified description of the Collector.
string description = 6;- Specified by:
getDescriptionBytesin interfaceCollectorOrBuilder- Returns:
- The bytes for description.
-
getServiceAccount
Service Account email used to ingest data to this Collector.
string service_account = 7;- Specified by:
getServiceAccountin interfaceCollectorOrBuilder- 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:
getServiceAccountBytesin interfaceCollectorOrBuilder- Returns:
- The bytes for serviceAccount.
-
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:
getBucketin interfaceCollectorOrBuilder- 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:
getBucketBytesin interfaceCollectorOrBuilder- Returns:
- The bytes for bucket.
-
getExpectedAssetCount
public long getExpectedAssetCount()User specified expected asset count.
int64 expected_asset_count = 9;- Specified by:
getExpectedAssetCountin interfaceCollectorOrBuilder- 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:
getStateValuein interfaceCollectorOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. State of the Collector.
.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCollectorOrBuilder- Returns:
- The state.
-
getClientVersion
Output only. Client version.
string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClientVersionin interfaceCollectorOrBuilder- 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:
getClientVersionBytesin interfaceCollectorOrBuilder- 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:
hasGuestOsScanin interfaceCollectorOrBuilder- Returns:
- Whether the guestOsScan field is set.
-
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:
getGuestOsScanin interfaceCollectorOrBuilder- Returns:
- The guestOsScan.
-
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:
getGuestOsScanOrBuilderin interfaceCollectorOrBuilder
-
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:
hasVsphereScanin interfaceCollectorOrBuilder- Returns:
- Whether the vsphereScan field is set.
-
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:
getVsphereScanin interfaceCollectorOrBuilder- Returns:
- The vsphereScan.
-
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:
getVsphereScanOrBuilderin interfaceCollectorOrBuilder
-
getCollectionDays
public int getCollectionDays()How many days to collect data.
int32 collection_days = 14;- Specified by:
getCollectionDaysin interfaceCollectorOrBuilder- Returns:
- The collectionDays.
-
getEulaUri
Uri for EULA (End User License Agreement) from customer.
string eula_uri = 15;- Specified by:
getEulaUriin interfaceCollectorOrBuilder- 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:
getEulaUriBytesin interfaceCollectorOrBuilder- Returns:
- The bytes for eulaUri.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Collector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Collector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Collector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Collector.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-