public static final class Topic.ReservationConfig.Builder extends GeneratedMessageV3.Builder<Topic.ReservationConfig.Builder> implements Topic.ReservationConfigOrBuilder
The settings for this topic's Reservation usage.
Protobuf type google.cloud.pubsublite.v1.Topic.ReservationConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Topic.ReservationConfig.BuilderImplements
Topic.ReservationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Topic.ReservationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Topic.ReservationConfig.Builder |
build()
public Topic.ReservationConfig build()
Type | Description |
Topic.ReservationConfig |
buildPartial()
public Topic.ReservationConfig buildPartial()
Type | Description |
Topic.ReservationConfig |
clear()
public Topic.ReservationConfig.Builder clear()
Type | Description |
Topic.ReservationConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Topic.ReservationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Topic.ReservationConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Topic.ReservationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Topic.ReservationConfig.Builder |
clearThroughputReservation()
public Topic.ReservationConfig.Builder clearThroughputReservation()
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string throughput_reservation = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
Topic.ReservationConfig.Builder | This builder for chaining. |
clone()
public Topic.ReservationConfig.Builder clone()
Type | Description |
Topic.ReservationConfig.Builder |
getDefaultInstanceForType()
public Topic.ReservationConfig getDefaultInstanceForType()
Type | Description |
Topic.ReservationConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getThroughputReservation()
public String getThroughputReservation()
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string throughput_reservation = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The throughputReservation. |
getThroughputReservationBytes()
public ByteString getThroughputReservationBytes()
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string throughput_reservation = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for throughputReservation. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Topic.ReservationConfig other)
public Topic.ReservationConfig.Builder mergeFrom(Topic.ReservationConfig other)
Name | Description |
other | Topic.ReservationConfig |
Type | Description |
Topic.ReservationConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Topic.ReservationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Topic.ReservationConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Topic.ReservationConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Topic.ReservationConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Topic.ReservationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Topic.ReservationConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Topic.ReservationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Topic.ReservationConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Topic.ReservationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Topic.ReservationConfig.Builder |
setThroughputReservation(String value)
public Topic.ReservationConfig.Builder setThroughputReservation(String value)
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string throughput_reservation = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The throughputReservation to set. |
Type | Description |
Topic.ReservationConfig.Builder | This builder for chaining. |
setThroughputReservationBytes(ByteString value)
public Topic.ReservationConfig.Builder setThroughputReservationBytes(ByteString value)
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string throughput_reservation = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for throughputReservation to set. |
Type | Description |
Topic.ReservationConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Topic.ReservationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Topic.ReservationConfig.Builder |