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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public ThrottleState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ThrottleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ThrottleState.Builder | This builder for chaining. |
clone()
public ThrottleState.Builder clone()
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
getDefaultInstanceForType()
public ThrottleState getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ThrottleState |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int | The throttlePercent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ThrottleState.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ThrottleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The throttlePercent to set. |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ThrottleState.Builder |