public final class AssetFrame extends GeneratedMessageV3 implements AssetFrameOrBuilder
Contains data reported from an inventory source on an asset.
Protobuf type google.cloud.migrationcenter.v1.AssetFrame
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_DETAILS_FIELD_NUMBER
public static final int MACHINE_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PERFORMANCE_SAMPLES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPORT_TIME_FIELD_NUMBER
public static final int REPORT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRACE_TOKEN_FIELD_NUMBER
public static final int TRACE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AssetFrame getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssetFrame.Builder newBuilder()
newBuilder(AssetFrame prototype)
public static AssetFrame.Builder newBuilder(AssetFrame prototype)
public static AssetFrame parseDelimitedFrom(InputStream input)
public static AssetFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssetFrame parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssetFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssetFrame parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetFrame parseFrom(CodedInputStream input)
public static AssetFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssetFrame parseFrom(InputStream input)
public static AssetFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssetFrame parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssetFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssetFrame> parser()
Methods
containsAttributes(String key)
public boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 12;
Parameter |
Name |
Description |
key |
String
|
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttributes() (deprecated)
public Map<String,String> getAttributes()
getAttributesCount()
public int getAttributesCount()
Generic asset attributes.
map<string, string> attributes = 12;
Returns |
Type |
Description |
int |
|
getAttributesMap()
public Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 12;
getAttributesOrDefault(String key, String defaultValue)
public String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 12;
Returns |
Type |
Description |
String |
|
getAttributesOrThrow(String key)
public String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 12;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public AssetFrame getDefaultInstanceForType()
getFrameDataCase()
public AssetFrame.FrameDataCase getFrameDataCase()
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMachineDetails()
public MachineDetails getMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
getMachineDetailsOrBuilder()
public MachineDetailsOrBuilder getMachineDetailsOrBuilder()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
getParserForType()
public Parser<AssetFrame> getParserForType()
Overrides
public 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;
Parameter |
Name |
Description |
index |
int
|
public 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;
Returns |
Type |
Description |
int |
|
public 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;
public 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;
Parameter |
Name |
Description |
index |
int
|
public 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;
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.PerformanceSampleOrBuilder> |
|
getReportTime()
public Timestamp getReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
Returns |
Type |
Description |
Timestamp |
The reportTime.
|
getReportTimeOrBuilder()
public TimestampOrBuilder getReportTimeOrBuilder()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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];
Returns |
Type |
Description |
String |
The traceToken.
|
getTraceTokenBytes()
public ByteString getTraceTokenBytes()
Optional. Trace token is optionally provided to assist with debugging and
traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for traceToken.
|
hasMachineDetails()
public boolean hasMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
Returns |
Type |
Description |
boolean |
Whether the machineDetails field is set.
|
hasReportTime()
public boolean hasReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
Returns |
Type |
Description |
boolean |
Whether the reportTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssetFrame.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssetFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AssetFrame.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides