Interface AssetFrameOrBuilder (0.29.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
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 11;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAttributes() (deprecated)

public abstract Map<String,String> getAttributes()

Use #getAttributesMap() instead.

Returns
Type Description
Map<String,String>

getAttributesCount()

public abstract int getAttributesCount()

Generic asset attributes.

map<string, string> attributes = 12;

Returns
Type Description
int

getAttributesMap()

public abstract Map<String,String> getAttributesMap()

Generic asset attributes.

map<string, string> attributes = 12;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getAttributesOrThrow(String key)

public abstract String getAttributesOrThrow(String key)

Generic asset attributes.

map<string, string> attributes = 12;

Parameter
Name Description
key String
Returns
Type Description
String

getFrameDataCase()

public abstract AssetFrame.FrameDataCase getFrameDataCase()
Returns
Type Description
AssetFrame.FrameDataCase

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 11;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 11;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract 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 abstract MachineDetails getMachineDetails()

Asset information specific for virtual machines.

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

Returns
Type Description
MachineDetails

The machineDetails.

getMachineDetailsOrBuilder()

public abstract MachineDetailsOrBuilder getMachineDetailsOrBuilder()

Asset information specific for virtual machines.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
Timestamp

The reportTime.

getReportTimeOrBuilder()

public abstract TimestampOrBuilder getReportTimeOrBuilder()

The time the data was reported.

.google.protobuf.Timestamp report_time = 10;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the reportTime field is set.