Class RegisterSubscriberResponse.Builder (3.44.0)

public static final class RegisterSubscriberResponse.Builder extends GeneratedMessageV3.Builder<RegisterSubscriberResponse.Builder> implements RegisterSubscriberResponseOrBuilder

Response Message for RegisterSubscriber.

Protobuf type google.cloud.channel.v1.RegisterSubscriberResponse

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()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegisterSubscriberResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public RegisterSubscriberResponse build()
Returns
TypeDescription
RegisterSubscriberResponse

buildPartial()

public RegisterSubscriberResponse buildPartial()
Returns
TypeDescription
RegisterSubscriberResponse

clear()

public RegisterSubscriberResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegisterSubscriberResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RegisterSubscriberResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearTopic()

public RegisterSubscriberResponse.Builder clearTopic()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
TypeDescription
RegisterSubscriberResponse.Builder

This builder for chaining.

clone()

public RegisterSubscriberResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public RegisterSubscriberResponse getDefaultInstanceForType()
Returns
TypeDescription
RegisterSubscriberResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTopic()

public String getTopic()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public ByteString getTopicBytes()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegisterSubscriberResponse other)

public RegisterSubscriberResponse.Builder mergeFrom(RegisterSubscriberResponse other)
Parameter
NameDescription
otherRegisterSubscriberResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegisterSubscriberResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RegisterSubscriberResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegisterSubscriberResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RegisterSubscriberResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RegisterSubscriberResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setTopic(String value)

public RegisterSubscriberResponse.Builder setTopic(String value)

Name of the topic the subscriber will listen to.

string topic = 1;

Parameter
NameDescription
valueString

The topic to set.

Returns
TypeDescription
RegisterSubscriberResponse.Builder

This builder for chaining.

setTopicBytes(ByteString value)

public RegisterSubscriberResponse.Builder setTopicBytes(ByteString value)

Name of the topic the subscriber will listen to.

string topic = 1;

Parameter
NameDescription
valueByteString

The bytes for topic to set.

Returns
TypeDescription
RegisterSubscriberResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RegisterSubscriberResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides