public final class AssetFrame extends com.google.protobuf.GeneratedMessageV3 implements AssetFrameOrBuilder
Contains data reported from an inventory source on an asset.Protobuf type
google.cloud.migrationcenter.v1.AssetFrame| Modifier and Type | Class and Description |
|---|---|
static class |
AssetFrame.Builder
Contains data reported from an inventory source on an asset.
|
static class |
AssetFrame.FrameDataCase |
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| Modifier and Type | Field and 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 |
| Modifier and Type | Method and 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(ByteBuffer data) |
static AssetFrame |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<AssetFrame> |
parser() |
AssetFrame.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MACHINE_DETAILS_FIELD_NUMBER
public static final int REPORT_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
public static final int PERFORMANCE_SAMPLES_FIELD_NUMBER
public static final int TRACE_TOKEN_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AssetFrame.FrameDataCase getFrameDataCase()
getFrameDataCase in interface AssetFrameOrBuilderpublic boolean hasMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;hasMachineDetails in interface AssetFrameOrBuilderpublic MachineDetails getMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;getMachineDetails in interface AssetFrameOrBuilderpublic MachineDetailsOrBuilder getMachineDetailsOrBuilder()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;getMachineDetailsOrBuilder in interface AssetFrameOrBuilderpublic boolean hasReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;hasReportTime in interface AssetFrameOrBuilderpublic com.google.protobuf.Timestamp getReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;getReportTime in interface AssetFrameOrBuilderpublic com.google.protobuf.TimestampOrBuilder getReportTimeOrBuilder()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;getReportTimeOrBuilder in interface AssetFrameOrBuilderpublic int getLabelsCount()
AssetFrameOrBuilderLabels as key value pairs.
map<string, string> labels = 11;getLabelsCount in interface AssetFrameOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;containsLabels in interface AssetFrameOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AssetFrameOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;getLabelsMap in interface AssetFrameOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;getLabelsOrDefault in interface AssetFrameOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;getLabelsOrThrow in interface AssetFrameOrBuilderpublic int getAttributesCount()
AssetFrameOrBuilderGeneric asset attributes.
map<string, string> attributes = 12;getAttributesCount in interface AssetFrameOrBuilderpublic boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 12;containsAttributes in interface AssetFrameOrBuilder@Deprecated public Map<String,String> getAttributes()
getAttributesMap() instead.getAttributes in interface AssetFrameOrBuilderpublic Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 12;getAttributesMap in interface AssetFrameOrBuilderpublic String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 12;getAttributesOrDefault in interface AssetFrameOrBuilderpublic String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 12;getAttributesOrThrow in interface AssetFrameOrBuilderpublic List<PerformanceSample> getPerformanceSamplesList()
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
getPerformanceSamplesList in interface AssetFrameOrBuilderpublic List<? extends PerformanceSampleOrBuilder> getPerformanceSamplesOrBuilderList()
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
getPerformanceSamplesOrBuilderList in interface AssetFrameOrBuilderpublic int getPerformanceSamplesCount()
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
getPerformanceSamplesCount in interface AssetFrameOrBuilderpublic PerformanceSample getPerformanceSamples(int index)
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
getPerformanceSamples in interface AssetFrameOrBuilderpublic PerformanceSampleOrBuilder getPerformanceSamplesOrBuilder(int index)
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
repeated .google.cloud.migrationcenter.v1.PerformanceSample performance_samples = 13;
getPerformanceSamplesOrBuilder in interface AssetFrameOrBuilderpublic String getTraceToken()
Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];getTraceToken in interface AssetFrameOrBuilderpublic 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];getTraceTokenBytes in interface AssetFrameOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AssetFrame parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssetFrame parseFrom(InputStream input) throws IOException
IOExceptionpublic static AssetFrame parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssetFrame parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AssetFrame parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssetFrame parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AssetFrame parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AssetFrame.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AssetFrame.Builder newBuilder()
public static AssetFrame.Builder newBuilder(AssetFrame prototype)
public AssetFrame.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AssetFrame.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AssetFrame getDefaultInstance()
public static com.google.protobuf.Parser<AssetFrame> parser()
public com.google.protobuf.Parser<AssetFrame> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AssetFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.