public static final class AssetFrame.Builder extends GeneratedMessageV3.Builder<AssetFrame.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssetFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AssetFrame build()
buildPartial()
public AssetFrame buildPartial()
clear()
public AssetFrame.Builder clear()
Overrides
clearAttributes()
public AssetFrame.Builder clearAttributes()
clearField(Descriptors.FieldDescriptor field)
public AssetFrame.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFrameData()
public AssetFrame.Builder clearFrameData()
clearLabels()
public AssetFrame.Builder clearLabels()
clearMachineDetails()
public AssetFrame.Builder clearMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AssetFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clearReportTime()
public AssetFrame.Builder clearReportTime()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
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];
clone()
public AssetFrame.Builder clone()
Overrides
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
|
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;
getAttributesOrThrow(String key)
public String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 12;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public AssetFrame getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Parameter |
---|
Name | Description |
key | String
|
getMachineDetails()
public MachineDetails getMachineDetails()
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
getMachineDetailsBuilder()
public MachineDetails.Builder getMachineDetailsBuilder()
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;
getMutableAttributes() (deprecated)
public Map<String,String> getMutableAttributes()
Use alternate mutation accessors instead.
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
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 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
|
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;
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.
|
getReportTimeBuilder()
public Timestamp.Builder getReportTimeBuilder()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
getReportTimeOrBuilder()
public TimestampOrBuilder getReportTimeOrBuilder()
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AssetFrame other)
public AssetFrame.Builder mergeFrom(AssetFrame other)
public AssetFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AssetFrame.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMachineDetails(MachineDetails value)
public AssetFrame.Builder mergeMachineDetails(MachineDetails value)
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
mergeReportTime(Timestamp value)
public AssetFrame.Builder mergeReportTime(Timestamp value)
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssetFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllAttributes(Map<String,String> values)
public AssetFrame.Builder putAllAttributes(Map<String,String> values)
Generic asset attributes.
map<string, string> attributes = 12;
putAllLabels(Map<String,String> values)
public AssetFrame.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 11;
putAttributes(String key, String value)
public AssetFrame.Builder putAttributes(String key, String value)
Generic asset attributes.
map<string, string> attributes = 12;
putLabels(String key, String value)
public AssetFrame.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 11;
removeAttributes(String key)
public AssetFrame.Builder removeAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 12;
Parameter |
---|
Name | Description |
key | String
|
removeLabels(String key)
public AssetFrame.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Parameter |
---|
Name | Description |
key | String
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public AssetFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMachineDetails(MachineDetails value)
public AssetFrame.Builder setMachineDetails(MachineDetails value)
Asset information specific for virtual machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 1;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssetFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReportTime(Timestamp value)
public AssetFrame.Builder setReportTime(Timestamp value)
The time the data was reported.
.google.protobuf.Timestamp report_time = 10;
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
|
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 | String
The traceToken to set.
|
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 | ByteString
The bytes for traceToken to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AssetFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides