Send feedback
Class Topic.ReservationConfig.Builder (1.4.12)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.4.12 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Topic . ReservationConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Topic . ReservationConfig build ()
Returns
buildPartial()
public Topic . ReservationConfig buildPartial ()
Returns
clear()
public Topic . ReservationConfig . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Topic . ReservationConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Topic . ReservationConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
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) = { ... }
Returns
clone()
public Topic . ReservationConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Topic . ReservationConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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) = { ... }
Returns
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) = { ... }
Returns
Type Description ByteString The bytes for throughputReservation.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Topic.ReservationConfig other)
public Topic . ReservationConfig . Builder mergeFrom ( Topic . ReservationConfig other )
Parameter
Returns
public Topic . ReservationConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Topic . ReservationConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Topic . ReservationConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Topic . ReservationConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Topic . ReservationConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
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) = { ... }
Parameter
Name Description value String
The throughputReservation to set.
Returns
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) = { ... }
Parameter
Name Description value ByteString
The bytes for throughputReservation to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Topic . ReservationConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]