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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 Topic.ReservationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Topic.ReservationConfig build()
buildPartial()
public Topic.ReservationConfig buildPartial()
clear()
public Topic.ReservationConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Topic.ReservationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Topic.ReservationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public Topic.ReservationConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Topic.ReservationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Topic.ReservationConfig other)
public Topic.ReservationConfig.Builder mergeFrom(Topic.ReservationConfig other)
public Topic.ReservationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Topic.ReservationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Topic.ReservationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Topic.ReservationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Topic.ReservationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Topic.ReservationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides