Interface AssetFrameOrBuilder (0.17.0)

public interface AssetFrameOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAttributes(String key)

public abstract boolean containsAttributes(String key)

Generic asset attributes.

map<string, string> attributes = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 11;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributes() (deprecated)

public abstract Map<String,String> getAttributes()

Use #getAttributesMap() instead.

Returns
TypeDescription
Map<String,String>

getAttributesCount()

public abstract int getAttributesCount()

Generic asset attributes.

map<string, string> attributes = 12;

Returns
TypeDescription
int

getAttributesMap()

public abstract Map<String,String> getAttributesMap()

Generic asset attributes.

map<string, string> attributes = 12;

Returns
TypeDescription
Map<String,String>

getAttributesOrDefault(String key, String defaultValue)

public abstract String getAttributesOrDefault(String key, String defaultValue)

Generic asset attributes.

map<string, string> attributes = 12;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAttributesOrThrow(String key)

public abstract String getAttributesOrThrow(String key)

Generic asset attributes.

map<string, string> attributes = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getFrameDataCase()

public abstract AssetFrame.FrameDataCase getFrameDataCase()
Returns
TypeDescription
AssetFrame.FrameDataCase

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 11;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 11;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 11;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 11;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMachineDetails()

public abstract MachineDetails getMachineDetails()

Asset information specific for virtual machines.

.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;

Returns
TypeDescription
MachineDetails

The machineDetails.

getMachineDetailsOrBuilder()

public abstract MachineDetailsOrBuilder getMachineDetailsOrBuilder()

Asset information specific for virtual machines.

.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;

Returns
TypeDescription
MachineDetailsOrBuilder

getPerformanceSamples(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
PerformanceSample

getPerformanceSamplesCount()

public abstract 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
TypeDescription
int

getPerformanceSamplesList()

public abstract 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;

Returns
TypeDescription
List<PerformanceSample>

getPerformanceSamplesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
PerformanceSampleOrBuilder

getPerformanceSamplesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.PerformanceSampleOrBuilder>

getReportTime()

public abstract Timestamp getReportTime()

The time the data was reported.

.google.protobuf.Timestamp report_time = 10;

Returns
TypeDescription
Timestamp

The reportTime.

getReportTimeOrBuilder()

public abstract TimestampOrBuilder getReportTimeOrBuilder()

The time the data was reported.

.google.protobuf.Timestamp report_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getTraceToken()

public abstract String getTraceToken()

Optional. Trace token is optionally provided to assist with debugging and traceability.

string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The traceToken.

getTraceTokenBytes()

public abstract ByteString getTraceTokenBytes()

Optional. Trace token is optionally provided to assist with debugging and traceability.

string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for traceToken.

hasMachineDetails()

public abstract boolean hasMachineDetails()

Asset information specific for virtual machines.

.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;

Returns
TypeDescription
boolean

Whether the machineDetails field is set.

hasReportTime()

public abstract boolean hasReportTime()

The time the data was reported.

.google.protobuf.Timestamp report_time = 10;

Returns
TypeDescription
boolean

Whether the reportTime field is set.