Class Storage.ThrottleStatus.Builder (2.38.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.ThrottleStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

build()

public Storage.ThrottleStatus build()
Returns
TypeDescription
Storage.ThrottleStatus

buildPartial()

public Storage.ThrottleStatus buildPartial()
Returns
TypeDescription
Storage.ThrottleStatus

clear()

public Storage.ThrottleStatus.Builder clear()
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Storage.ThrottleStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.ThrottleStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Storage.ThrottleStatus.Builder

This builder for chaining.

clone()

public Storage.ThrottleStatus.Builder clone()
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

getDefaultInstanceForType()

public Storage.ThrottleStatus getDefaultInstanceForType()
Returns
TypeDescription
Storage.ThrottleStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The throttlePercent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.ThrottleStatus other)

public Storage.ThrottleStatus.Builder mergeFrom(Storage.ThrottleStatus other)
Parameter
NameDescription
otherStorage.ThrottleStatus
Returns
TypeDescription
Storage.ThrottleStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.ThrottleStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Storage.ThrottleStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.ThrottleStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.ThrottleStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The throttlePercent to set.

Returns
TypeDescription
Storage.ThrottleStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.ThrottleStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.ThrottleStatus.Builder
Overrides