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.v1beta2.ThrottleState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ThrottleState.BuilderImplements
ThrottleStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ThrottleState.Builder |
build()
public ThrottleState build()
Type | Description |
ThrottleState |
buildPartial()
public ThrottleState buildPartial()
Type | Description |
ThrottleState |
clear()
public ThrottleState.Builder clear()
Type | Description |
ThrottleState.Builder |
clearField(Descriptors.FieldDescriptor field)
public ThrottleState.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ThrottleState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ThrottleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ThrottleState.Builder |
clearThrottlePercent()
public ThrottleState.Builder clearThrottlePercent()
How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.
int32 throttle_percent = 1;
Type | Description |
ThrottleState.Builder | This builder for chaining. |
clone()
public ThrottleState.Builder clone()
Type | Description |
ThrottleState.Builder |
getDefaultInstanceForType()
public ThrottleState getDefaultInstanceForType()
Type | Description |
ThrottleState |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getThrottlePercent()
public int getThrottlePercent()
How much this connection is being throttled. Zero means no throttling, 100 means fully throttled.
int32 throttle_percent = 1;
Type | Description |
int | The throttlePercent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ThrottleState other)
public ThrottleState.Builder mergeFrom(ThrottleState other)
Name | Description |
other | ThrottleState |
Type | Description |
ThrottleState.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThrottleState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ThrottleState.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ThrottleState.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ThrottleState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ThrottleState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ThrottleState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ThrottleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ThrottleState.Builder |
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;
Name | Description |
value | int The throttlePercent to set. |
Type | Description |
ThrottleState.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ThrottleState.Builder |