Class ThrottleState.Builder (3.20.0)

public static final class ThrottleState.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

build()

public ThrottleState build()
Returns
Type Description
ThrottleState

buildPartial()

public ThrottleState buildPartial()
Returns
Type Description
ThrottleState

clear()

public ThrottleState.Builder clear()
Returns
Type Description
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
Type Description
ThrottleState.Builder

This builder for chaining.

getDefaultInstanceForType()

public ThrottleState getDefaultInstanceForType()
Returns
Type Description
ThrottleState

getDescriptorForType()

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

The throttlePercent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ThrottleState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ThrottleState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value int

The throttlePercent to set.

Returns
Type Description
ThrottleState.Builder

This builder for chaining.