Class ThrottleState.Builder (3.1.0)

public static final class ThrottleState.Builder extends GeneratedMessageV3.Builder<ThrottleState.Builder> implements ThrottleStateOrBuilder

Information on if the current connection is being throttled.

Protobuf type google.cloud.bigquery.storage.v1.ThrottleState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ThrottleState build()
Returns
TypeDescription
ThrottleState

buildPartial()

public ThrottleState buildPartial()
Returns
TypeDescription
ThrottleState

clear()

public ThrottleState.Builder clear()
Returns
TypeDescription
ThrottleState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ThrottleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ThrottleState.Builder
Overrides

clearThrottlePercent()

public ThrottleState.Builder clearThrottlePercent()

How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.

int32 throttle_percent = 1;

Returns
TypeDescription
ThrottleState.Builder

This builder for chaining.

clone()

public ThrottleState.Builder clone()
Returns
TypeDescription
ThrottleState.Builder
Overrides

getDefaultInstanceForType()

public ThrottleState getDefaultInstanceForType()
Returns
TypeDescription
ThrottleState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getThrottlePercent()

public int getThrottlePercent()

How much this connection is being throttled. Zero means no throttling, 100 means fully 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(ThrottleState other)

public ThrottleState.Builder mergeFrom(ThrottleState other)
Parameter
NameDescription
otherThrottleState
Returns
TypeDescription
ThrottleState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ThrottleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ThrottleState.Builder
Overrides

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

public ThrottleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ThrottleState.Builder
Overrides

setThrottlePercent(int value)

public ThrottleState.Builder setThrottlePercent(int value)

How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.

int32 throttle_percent = 1;

Parameter
NameDescription
valueint

The throttlePercent to set.

Returns
TypeDescription
ThrottleState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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