public static final class Topic.PartitionConfig.Capacity extends GeneratedMessageV3 implements Topic.PartitionConfig.CapacityOrBuilder
The throughput capacity configuration for each partition.
Protobuf type google.cloud.pubsublite.v1.Topic.PartitionConfig.Capacity
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Topic.PartitionConfig.CapacityImplements
Topic.PartitionConfig.CapacityOrBuilderStatic Fields
PUBLISH_MIB_PER_SEC_FIELD_NUMBER
public static final int PUBLISH_MIB_PER_SEC_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SUBSCRIBE_MIB_PER_SEC_FIELD_NUMBER
public static final int SUBSCRIBE_MIB_PER_SEC_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Topic.PartitionConfig.Capacity getDefaultInstance()
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Topic.PartitionConfig.Capacity.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity.Builder |
newBuilder(Topic.PartitionConfig.Capacity prototype)
public static Topic.PartitionConfig.Capacity.Builder newBuilder(Topic.PartitionConfig.Capacity prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Topic.PartitionConfig.Capacity |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity.Builder |
parseDelimitedFrom(InputStream input)
public static Topic.PartitionConfig.Capacity parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Topic.PartitionConfig.Capacity parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Topic.PartitionConfig.Capacity parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Topic.PartitionConfig.Capacity parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Topic.PartitionConfig.Capacity parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Topic.PartitionConfig.Capacity parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Topic.PartitionConfig.Capacity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Topic.PartitionConfig.Capacity> parser()
Returns | |
---|---|
Type | Description |
Parser<Capacity> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Topic.PartitionConfig.Capacity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity |
getParserForType()
public Parser<Topic.PartitionConfig.Capacity> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Capacity> |
getPublishMibPerSec()
public int getPublishMibPerSec()
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
int32 publish_mib_per_sec = 1;
Returns | |
---|---|
Type | Description |
int |
The publishMibPerSec. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSubscribeMibPerSec()
public int getSubscribeMibPerSec()
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
int32 subscribe_mib_per_sec = 2;
Returns | |
---|---|
Type | Description |
int |
The subscribeMibPerSec. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Topic.PartitionConfig.Capacity.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Topic.PartitionConfig.Capacity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Topic.PartitionConfig.Capacity.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Topic.PartitionConfig.Capacity.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |