Class AssetFrame
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.migrationcenter.v1.AssetFrame
-
- All Implemented Interfaces:
AssetFrameOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class AssetFrame extends com.google.protobuf.GeneratedMessageV3 implements AssetFrameOrBuilder
Contains data reported from an inventory source on an asset.
Protobuf typegoogle.cloud.migrationcenter.v1.AssetFrame
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssetFrame.Builder
Contains data reported from an inventory source on an asset.static class
AssetFrame.FrameDataCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTRIBUTES_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MACHINE_DETAILS_FIELD_NUMBER
static int
PERFORMANCE_SAMPLES_FIELD_NUMBER
static int
REPORT_TIME_FIELD_NUMBER
static int
TRACE_TOKEN_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAttributes(String key)
Generic asset attributes.boolean
containsLabels(String key)
Labels as key value pairs.boolean
equals(Object obj)
Map<String,String>
getAttributes()
Deprecated.int
getAttributesCount()
Generic asset attributes.Map<String,String>
getAttributesMap()
Generic asset attributes.String
getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.String
getAttributesOrThrow(String key)
Generic asset attributes.static AssetFrame
getDefaultInstance()
AssetFrame
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
AssetFrame.FrameDataCase
getFrameDataCase()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairs.Map<String,String>
getLabelsMap()
Labels as key value pairs.String
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.String
getLabelsOrThrow(String key)
Labels as key value pairs.MachineDetails
getMachineDetails()
Asset information specific for virtual machines.MachineDetailsOrBuilder
getMachineDetailsOrBuilder()
Asset information specific for virtual machines.com.google.protobuf.Parser<AssetFrame>
getParserForType()
PerformanceSample
getPerformanceSamples(int index)
Asset performance data samples.int
getPerformanceSamplesCount()
Asset performance data samples.List<PerformanceSample>
getPerformanceSamplesList()
Asset performance data samples.PerformanceSampleOrBuilder
getPerformanceSamplesOrBuilder(int index)
Asset performance data samples.List<? extends PerformanceSampleOrBuilder>
getPerformanceSamplesOrBuilderList()
Asset performance data samples.com.google.protobuf.Timestamp
getReportTime()
The time the data was reported.com.google.protobuf.TimestampOrBuilder
getReportTimeOrBuilder()
The time the data was reported.int
getSerializedSize()
String
getTraceToken()
Optional.com.google.protobuf.ByteString
getTraceTokenBytes()
Optional.int
hashCode()
boolean
hasMachineDetails()
Asset information specific for virtual machines.boolean
hasReportTime()
The time the data was reported.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static AssetFrame.Builder
newBuilder()
static AssetFrame.Builder
newBuilder(AssetFrame prototype)
AssetFrame.Builder
newBuilderForType()
protected AssetFrame.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AssetFrame
parseDelimitedFrom(InputStream input)
static AssetFrame
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFrame
parseFrom(byte[] data)
static AssetFrame
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFrame
parseFrom(com.google.protobuf.ByteString data)
static AssetFrame
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFrame
parseFrom(com.google.protobuf.CodedInputStream input)
static AssetFrame
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFrame
parseFrom(InputStream input)
static AssetFrame
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFrame
parseFrom(ByteBuffer data)
static AssetFrame
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AssetFrame>
parser()
AssetFrame.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MACHINE_DETAILS_FIELD_NUMBER
public static final int MACHINE_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPORT_TIME_FIELD_NUMBER
public static final int REPORT_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERFORMANCE_SAMPLES_FIELD_NUMBER
public static final int PERFORMANCE_SAMPLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_TOKEN_FIELD_NUMBER
public static final int TRACE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getFrameDataCase
public AssetFrame.FrameDataCase getFrameDataCase()
- Specified by:
getFrameDataCase
in interfaceAssetFrameOrBuilder
-
hasMachineDetails
public boolean hasMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
- Specified by:
hasMachineDetails
in interfaceAssetFrameOrBuilder
- Returns:
- Whether the machineDetails field is set.
-
getMachineDetails
public MachineDetails getMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
- Specified by:
getMachineDetails
in interfaceAssetFrameOrBuilder
- Returns:
- The machineDetails.
-
getMachineDetailsOrBuilder
public MachineDetailsOrBuilder getMachineDetailsOrBuilder()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
- Specified by:
getMachineDetailsOrBuilder
in interfaceAssetFrameOrBuilder
-
hasReportTime
public boolean hasReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
- Specified by:
hasReportTime
in interfaceAssetFrameOrBuilder
- Returns:
- Whether the reportTime field is set.
-
getReportTime
public com.google.protobuf.Timestamp getReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
- Specified by:
getReportTime
in interfaceAssetFrameOrBuilder
- Returns:
- The reportTime.
-
getReportTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReportTimeOrBuilder()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
- Specified by:
getReportTimeOrBuilder
in interfaceAssetFrameOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AssetFrameOrBuilder
Labels as key value pairs.
map<string, string> labels = 11;
- Specified by:
getLabelsCount
in interfaceAssetFrameOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
- Specified by:
containsLabels
in interfaceAssetFrameOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAssetFrameOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;
- Specified by:
getLabelsMap
in interfaceAssetFrameOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;
- Specified by:
getLabelsOrDefault
in interfaceAssetFrameOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
- Specified by:
getLabelsOrThrow
in interfaceAssetFrameOrBuilder
-
getAttributesCount
public int getAttributesCount()
Description copied from interface:AssetFrameOrBuilder
Generic asset attributes.
map<string, string> attributes = 12;
- Specified by:
getAttributesCount
in interfaceAssetFrameOrBuilder
-
containsAttributes
public boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 12;
- Specified by:
containsAttributes
in interfaceAssetFrameOrBuilder
-
getAttributes
@Deprecated public Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceAssetFrameOrBuilder
-
getAttributesMap
public Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 12;
- Specified by:
getAttributesMap
in interfaceAssetFrameOrBuilder
-
getAttributesOrDefault
public String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 12;
- Specified by:
getAttributesOrDefault
in interfaceAssetFrameOrBuilder
-
getAttributesOrThrow
public String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 12;
- Specified by:
getAttributesOrThrow
in interfaceAssetFrameOrBuilder
-
getPerformanceSamplesList
public List<PerformanceSample> getPerformanceSamplesList()
Asset performance data samples.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
- Specified by:
getPerformanceSamplesList
in interfaceAssetFrameOrBuilder
-
getPerformanceSamplesOrBuilderList
public List<? extends PerformanceSampleOrBuilder> getPerformanceSamplesOrBuilderList()
Asset performance data samples.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
- Specified by:
getPerformanceSamplesOrBuilderList
in interfaceAssetFrameOrBuilder
-
getPerformanceSamplesCount
public int getPerformanceSamplesCount()
Asset performance data samples.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
- Specified by:
getPerformanceSamplesCount
in interfaceAssetFrameOrBuilder
-
getPerformanceSamples
public PerformanceSample getPerformanceSamples(int index)
Asset performance data samples.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
- Specified by:
getPerformanceSamples
in interfaceAssetFrameOrBuilder
-
getPerformanceSamplesOrBuilder
public PerformanceSampleOrBuilder getPerformanceSamplesOrBuilder(int index)
Asset performance data samples.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
- Specified by:
getPerformanceSamplesOrBuilder
in interfaceAssetFrameOrBuilder
-
getTraceToken
public String getTraceToken()
Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTraceToken
in interfaceAssetFrameOrBuilder
- Returns:
- The traceToken.
-
getTraceTokenBytes
public com.google.protobuf.ByteString getTraceTokenBytes()
Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTraceTokenBytes
in interfaceAssetFrameOrBuilder
- Returns:
- The bytes for traceToken.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AssetFrame parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetFrame parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AssetFrame parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AssetFrame parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AssetFrame parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AssetFrame parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AssetFrame parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AssetFrame.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AssetFrame.Builder newBuilder()
-
newBuilder
public static AssetFrame.Builder newBuilder(AssetFrame prototype)
-
toBuilder
public AssetFrame.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AssetFrame.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AssetFrame getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AssetFrame> parser()
-
getParserForType
public com.google.protobuf.Parser<AssetFrame> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AssetFrame getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-