Class Storage.ThrottleStatus.Builder (3.6.1)

public static final class Storage.ThrottleStatus.Builder extends GeneratedMessageV3.Builder<Storage.ThrottleStatus.Builder> implements Storage.ThrottleStatusOrBuilder

Information on if the current connection is being throttled.

Protobuf type google.cloud.bigquery.storage.v1beta1.ThrottleStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Storage.ThrottleStatus build()
Returns
Type Description
Storage.ThrottleStatus

buildPartial()

public Storage.ThrottleStatus buildPartial()
Returns
Type Description
Storage.ThrottleStatus

clear()

public Storage.ThrottleStatus.Builder clear()
Returns
Type Description
Storage.ThrottleStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearThrottlePercent()

public Storage.ThrottleStatus.Builder clearThrottlePercent()

How much this connection is being throttled. 0 is no throttling, 100 is completely throttled.

int32 throttle_percent = 1;

Returns
Type Description
Storage.ThrottleStatus.Builder

This builder for chaining.

clone()

public Storage.ThrottleStatus.Builder clone()
Returns
Type Description
Storage.ThrottleStatus.Builder
Overrides

getDefaultInstanceForType()

public Storage.ThrottleStatus getDefaultInstanceForType()
Returns
Type Description
Storage.ThrottleStatus

getDescriptorForType()

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

getThrottlePercent()

public int getThrottlePercent()

How much this connection is being throttled. 0 is no throttling, 100 is completely throttled.

int32 throttle_percent = 1;

Returns
Type Description
int

The throttlePercent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Storage.ThrottleStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setThrottlePercent(int value)

public Storage.ThrottleStatus.Builder setThrottlePercent(int value)

How much this connection is being throttled. 0 is no throttling, 100 is completely throttled.

int32 throttle_percent = 1;

Parameter
Name Description
value int

The throttlePercent to set.

Returns
Type Description
Storage.ThrottleStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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