- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.62.0
- 0.60.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AssetFrame.Builder extends GeneratedMessage.Builder<AssetFrame.Builder> implements AssetFrameOrBuilderContains data reported from an inventory source on an asset.
Protobuf type google.cloud.migrationcenter.v1.AssetFrame
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AssetFrame.BuilderImplements
AssetFrameOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPerformanceSamples(Iterable<? extends PerformanceSample> values)
public AssetFrame.Builder addAllPerformanceSamples(Iterable<? extends PerformanceSample> values)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 |
values |
Iterable<? extends com.google.cloud.migrationcenter.v1.PerformanceSample> |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
addPerformanceSamples(PerformanceSample value)
public AssetFrame.Builder addPerformanceSamples(PerformanceSample value)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 |
value |
PerformanceSample |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
addPerformanceSamples(PerformanceSample.Builder builderForValue)
public AssetFrame.Builder addPerformanceSamples(PerformanceSample.Builder builderForValue)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 |
builderForValue |
PerformanceSample.Builder |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
addPerformanceSamples(int index, PerformanceSample value)
public AssetFrame.Builder addPerformanceSamples(int index, PerformanceSample value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PerformanceSample |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
addPerformanceSamples(int index, PerformanceSample.Builder builderForValue)
public AssetFrame.Builder addPerformanceSamples(int index, PerformanceSample.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PerformanceSample.Builder |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
addPerformanceSamplesBuilder()
public PerformanceSample.Builder addPerformanceSamplesBuilder()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 |
PerformanceSample.Builder |
|
addPerformanceSamplesBuilder(int index)
public PerformanceSample.Builder addPerformanceSamplesBuilder(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.Builder |
|
build()
public AssetFrame build()| Returns | |
|---|---|
| Type | Description |
AssetFrame |
|
buildPartial()
public AssetFrame buildPartial()| Returns | |
|---|---|
| Type | Description |
AssetFrame |
|
clear()
public AssetFrame.Builder clear()| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearAttributes()
public AssetFrame.Builder clearAttributes()| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearFrameData()
public AssetFrame.Builder clearFrameData()| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearLabels()
public AssetFrame.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearMachineDetails()
public AssetFrame.Builder clearMachineDetails()Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearPerformanceSamples()
public AssetFrame.Builder clearPerformanceSamples()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 |
AssetFrame.Builder |
|
clearReportTime()
public AssetFrame.Builder clearReportTime()The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
clearTraceToken()
public AssetFrame.Builder clearTraceToken()Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
This builder for chaining. |
containsAttributes(String key)
public 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 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 Map<String,String> getAttributes()Use #getAttributesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAttributesOrDefault(String key, String defaultValue)
public 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 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()| Returns | |
|---|---|
| Type | Description |
AssetFrame |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFrameDataCase()
public AssetFrame.FrameDataCase getFrameDataCase()| Returns | |
|---|---|
| Type | Description |
AssetFrame.FrameDataCase |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public 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 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;
| Returns | |
|---|---|
| Type | Description |
MachineDetails |
The machineDetails. |
getMachineDetailsBuilder()
public MachineDetails.Builder getMachineDetailsBuilder()Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Returns | |
|---|---|
| Type | Description |
MachineDetails.Builder |
|
getMachineDetailsOrBuilder()
public MachineDetailsOrBuilder getMachineDetailsOrBuilder()Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Returns | |
|---|---|
| Type | Description |
MachineDetailsOrBuilder |
|
getMutableAttributes() (deprecated)
public Map<String,String> getMutableAttributes()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getPerformanceSamples(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PerformanceSample |
|
getPerformanceSamplesBuilder(int index)
public PerformanceSample.Builder getPerformanceSamplesBuilder(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.Builder |
|
getPerformanceSamplesBuilderList()
public List<PerformanceSample.Builder> getPerformanceSamplesBuilderList()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<Builder> |
|
getPerformanceSamplesCount()
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 |
|
getPerformanceSamplesList()
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;
| Returns | |
|---|---|
| Type | Description |
List<PerformanceSample> |
|
getPerformanceSamplesOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PerformanceSampleOrBuilder |
|
getPerformanceSamplesOrBuilderList()
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. |
getReportTimeBuilder()
public Timestamp.Builder getReportTimeBuilder()The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getReportTimeOrBuilder()
public TimestampOrBuilder getReportTimeOrBuilder()The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AssetFrame other)
public AssetFrame.Builder mergeFrom(AssetFrame other)| Parameter | |
|---|---|
| Name | Description |
other |
AssetFrame |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AssetFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AssetFrame.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
mergeMachineDetails(MachineDetails value)
public AssetFrame.Builder mergeMachineDetails(MachineDetails value)Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
MachineDetails |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
mergeReportTime(Timestamp value)
public AssetFrame.Builder mergeReportTime(Timestamp value)The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
putAllAttributes(Map<String,String> values)
public AssetFrame.Builder putAllAttributes(Map<String,String> values)Generic asset attributes.
map<string, string> attributes = 12;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
putAllLabels(Map<String,String> values)
public AssetFrame.Builder putAllLabels(Map<String,String> values)Labels as key value pairs.
map<string, string> labels = 11;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
putAttributes(String key, String value)
public AssetFrame.Builder putAttributes(String key, String value)Generic asset attributes.
map<string, string> attributes = 12;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
putLabels(String key, String value)
public AssetFrame.Builder putLabels(String key, String value)Labels as key value pairs.
map<string, string> labels = 11;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
removeAttributes(String key)
public AssetFrame.Builder removeAttributes(String key)Generic asset attributes.
map<string, string> attributes = 12;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
removeLabels(String key)
public AssetFrame.Builder removeLabels(String key)Labels as key value pairs.
map<string, string> labels = 11;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
removePerformanceSamples(int index)
public AssetFrame.Builder removePerformanceSamples(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 |
AssetFrame.Builder |
|
setMachineDetails(MachineDetails value)
public AssetFrame.Builder setMachineDetails(MachineDetails value)Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
MachineDetails |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setMachineDetails(MachineDetails.Builder builderForValue)
public AssetFrame.Builder setMachineDetails(MachineDetails.Builder builderForValue)Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MachineDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setPerformanceSamples(int index, PerformanceSample value)
public AssetFrame.Builder setPerformanceSamples(int index, PerformanceSample value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PerformanceSample |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setPerformanceSamples(int index, PerformanceSample.Builder builderForValue)
public AssetFrame.Builder setPerformanceSamples(int index, PerformanceSample.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PerformanceSample.Builder |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setReportTime(Timestamp value)
public AssetFrame.Builder setReportTime(Timestamp value)The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setReportTime(Timestamp.Builder builderForValue)
public AssetFrame.Builder setReportTime(Timestamp.Builder builderForValue)The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
|
setTraceToken(String value)
public AssetFrame.Builder setTraceToken(String value)Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe traceToken to set. |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
This builder for chaining. |
setTraceTokenBytes(ByteString value)
public AssetFrame.Builder setTraceTokenBytes(ByteString value)Optional. Trace token is optionally provided to assist with debugging and traceability.
string trace_token = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for traceToken to set. |
| Returns | |
|---|---|
| Type | Description |
AssetFrame.Builder |
This builder for chaining. |