Class DiskUtilization.Builder (2.46.0)

public static final class DiskUtilization.Builder extends GeneratedMessageV3.Builder<DiskUtilization.Builder> implements DiskUtilizationOrBuilder

Target scaling by disk usage. Only applicable in the App Engine flexible environment.

Protobuf type google.appengine.v1.DiskUtilization

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiskUtilization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskUtilization.Builder
Overrides

build()

public DiskUtilization build()
Returns
Type Description
DiskUtilization

buildPartial()

public DiskUtilization buildPartial()
Returns
Type Description
DiskUtilization

clear()

public DiskUtilization.Builder clear()
Returns
Type Description
DiskUtilization.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiskUtilization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiskUtilization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiskUtilization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiskUtilization.Builder
Overrides

clearTargetReadBytesPerSecond()

public DiskUtilization.Builder clearTargetReadBytesPerSecond()

Target bytes read per second.

int32 target_read_bytes_per_second = 16;

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

clearTargetReadOpsPerSecond()

public DiskUtilization.Builder clearTargetReadOpsPerSecond()

Target ops read per seconds.

int32 target_read_ops_per_second = 17;

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

clearTargetWriteBytesPerSecond()

public DiskUtilization.Builder clearTargetWriteBytesPerSecond()

Target bytes written per second.

int32 target_write_bytes_per_second = 14;

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

clearTargetWriteOpsPerSecond()

public DiskUtilization.Builder clearTargetWriteOpsPerSecond()

Target ops written per second.

int32 target_write_ops_per_second = 15;

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

clone()

public DiskUtilization.Builder clone()
Returns
Type Description
DiskUtilization.Builder
Overrides

getDefaultInstanceForType()

public DiskUtilization getDefaultInstanceForType()
Returns
Type Description
DiskUtilization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTargetReadBytesPerSecond()

public int getTargetReadBytesPerSecond()

Target bytes read per second.

int32 target_read_bytes_per_second = 16;

Returns
Type Description
int

The targetReadBytesPerSecond.

getTargetReadOpsPerSecond()

public int getTargetReadOpsPerSecond()

Target ops read per seconds.

int32 target_read_ops_per_second = 17;

Returns
Type Description
int

The targetReadOpsPerSecond.

getTargetWriteBytesPerSecond()

public int getTargetWriteBytesPerSecond()

Target bytes written per second.

int32 target_write_bytes_per_second = 14;

Returns
Type Description
int

The targetWriteBytesPerSecond.

getTargetWriteOpsPerSecond()

public int getTargetWriteOpsPerSecond()

Target ops written per second.

int32 target_write_ops_per_second = 15;

Returns
Type Description
int

The targetWriteOpsPerSecond.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskUtilization other)

public DiskUtilization.Builder mergeFrom(DiskUtilization other)
Parameter
Name Description
other DiskUtilization
Returns
Type Description
DiskUtilization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiskUtilization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskUtilization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiskUtilization.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiskUtilization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiskUtilization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskUtilization.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DiskUtilization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskUtilization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiskUtilization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiskUtilization.Builder
Overrides

setTargetReadBytesPerSecond(int value)

public DiskUtilization.Builder setTargetReadBytesPerSecond(int value)

Target bytes read per second.

int32 target_read_bytes_per_second = 16;

Parameter
Name Description
value int

The targetReadBytesPerSecond to set.

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

setTargetReadOpsPerSecond(int value)

public DiskUtilization.Builder setTargetReadOpsPerSecond(int value)

Target ops read per seconds.

int32 target_read_ops_per_second = 17;

Parameter
Name Description
value int

The targetReadOpsPerSecond to set.

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

setTargetWriteBytesPerSecond(int value)

public DiskUtilization.Builder setTargetWriteBytesPerSecond(int value)

Target bytes written per second.

int32 target_write_bytes_per_second = 14;

Parameter
Name Description
value int

The targetWriteBytesPerSecond to set.

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

setTargetWriteOpsPerSecond(int value)

public DiskUtilization.Builder setTargetWriteOpsPerSecond(int value)

Target ops written per second.

int32 target_write_ops_per_second = 15;

Parameter
Name Description
value int

The targetWriteOpsPerSecond to set.

Returns
Type Description
DiskUtilization.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiskUtilization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskUtilization.Builder
Overrides