Class ThrottleState (2.43.0)

public final class ThrottleState extends GeneratedMessageV3 implements ThrottleStateOrBuilder

Information on if the current connection is being throttled.

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

Static Fields

THROTTLE_PERCENT_FIELD_NUMBER

public static final int THROTTLE_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ThrottleState getDefaultInstance()
Returns
TypeDescription
ThrottleState

getDescriptor()

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

newBuilder()

public static ThrottleState.Builder newBuilder()
Returns
TypeDescription
ThrottleState.Builder

newBuilder(ThrottleState prototype)

public static ThrottleState.Builder newBuilder(ThrottleState prototype)
Parameter
NameDescription
prototypeThrottleState
Returns
TypeDescription
ThrottleState.Builder

parseDelimitedFrom(InputStream input)

public static ThrottleState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ThrottleState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ThrottleState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ThrottleState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ThrottleState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ThrottleState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ThrottleState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThrottleState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ThrottleState> parser()
Returns
TypeDescription
Parser<ThrottleState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ThrottleState getDefaultInstanceForType()
Returns
TypeDescription
ThrottleState

getParserForType()

public Parser<ThrottleState> getParserForType()
Returns
TypeDescription
Parser<ThrottleState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ThrottleState.Builder newBuilderForType()
Returns
TypeDescription
ThrottleState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ThrottleState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ThrottleState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ThrottleState.Builder toBuilder()
Returns
TypeDescription
ThrottleState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException