public static final class MemoryUsageSample.Builder extends GeneratedMessageV3.Builder<MemoryUsageSample.Builder> implements MemoryUsageSampleOrBuilder
Memory usage sample.
Protobuf type google.cloud.migrationcenter.v1.MemoryUsageSample
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MemoryUsageSample.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MemoryUsageSample build()
buildPartial()
public MemoryUsageSample buildPartial()
clear()
public MemoryUsageSample.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MemoryUsageSample.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MemoryUsageSample.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUtilizedPercentage()
public MemoryUsageSample.Builder clearUtilizedPercentage()
Percentage of system memory utilized. Must be in the interval [0, 100].
float utilized_percentage = 1;
clone()
public MemoryUsageSample.Builder clone()
Overrides
getDefaultInstanceForType()
public MemoryUsageSample getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUtilizedPercentage()
public float getUtilizedPercentage()
Percentage of system memory utilized. Must be in the interval [0, 100].
float utilized_percentage = 1;
Returns |
---|
Type | Description |
float | The utilizedPercentage.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MemoryUsageSample other)
public MemoryUsageSample.Builder mergeFrom(MemoryUsageSample other)
public MemoryUsageSample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MemoryUsageSample.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MemoryUsageSample.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MemoryUsageSample.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MemoryUsageSample.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MemoryUsageSample.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUtilizedPercentage(float value)
public MemoryUsageSample.Builder setUtilizedPercentage(float value)
Percentage of system memory utilized. Must be in the interval [0, 100].
float utilized_percentage = 1;
Parameter |
---|
Name | Description |
value | float
The utilizedPercentage to set.
|