public static final class MemoryUsageSample.Builder extends GeneratedMessageV3.Builder<MemoryUsageSample.Builder> implements MemoryUsageSampleOrBuilder
Memory usage sample.
Protobuf type google.cloud.migrationcenter.v1.MemoryUsageSample
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MemoryUsageSample.BuilderImplements
MemoryUsageSampleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MemoryUsageSample.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
build()
public MemoryUsageSample build()
Returns | |
---|---|
Type | Description |
MemoryUsageSample |
buildPartial()
public MemoryUsageSample buildPartial()
Returns | |
---|---|
Type | Description |
MemoryUsageSample |
clear()
public MemoryUsageSample.Builder clear()
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
clearField(Descriptors.FieldDescriptor field)
public MemoryUsageSample.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MemoryUsageSample.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
clearUtilizedPercentage()
public MemoryUsageSample.Builder clearUtilizedPercentage()
Percentage of system memory utilized. Must be in the interval [0, 100].
float utilized_percentage = 1;
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
This builder for chaining. |
clone()
public MemoryUsageSample.Builder clone()
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
getDefaultInstanceForType()
public MemoryUsageSample getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MemoryUsageSample |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MemoryUsageSample other)
public MemoryUsageSample.Builder mergeFrom(MemoryUsageSample other)
Parameter | |
---|---|
Name | Description |
other |
MemoryUsageSample |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MemoryUsageSample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MemoryUsageSample.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MemoryUsageSample.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MemoryUsageSample.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MemoryUsageSample.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MemoryUsageSample.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
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. |
Returns | |
---|---|
Type | Description |
MemoryUsageSample.Builder |
This builder for chaining. |