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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ThrottleState build()
buildPartial()
public ThrottleState buildPartial()
clear()
public ThrottleState.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ThrottleState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ThrottleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ThrottleState.Builder clone()
Overrides
getDefaultInstanceForType()
public ThrottleState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ThrottleState other)
public ThrottleState.Builder mergeFrom(ThrottleState other)
public ThrottleState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ThrottleState.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ThrottleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ThrottleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ThrottleState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides