Class RegisterSubscriberResponse.Builder (3.50.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegisterSubscriberResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

build()

public RegisterSubscriberResponse build()
Returns
Type Description
RegisterSubscriberResponse

buildPartial()

public RegisterSubscriberResponse buildPartial()
Returns
Type Description
RegisterSubscriberResponse

clear()

public RegisterSubscriberResponse.Builder clear()
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegisterSubscriberResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RegisterSubscriberResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

clearTopic()

public RegisterSubscriberResponse.Builder clearTopic()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
Type Description
RegisterSubscriberResponse.Builder

This builder for chaining.

clone()

public RegisterSubscriberResponse.Builder clone()
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

getDefaultInstanceForType()

public RegisterSubscriberResponse getDefaultInstanceForType()
Returns
Type Description
RegisterSubscriberResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTopic()

public String getTopic()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
Type Description
String

The topic.

getTopicBytes()

public ByteString getTopicBytes()

Name of the topic the subscriber will listen to.

string topic = 1;

Returns
Type Description
ByteString

The bytes for topic.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegisterSubscriberResponse other)

public RegisterSubscriberResponse.Builder mergeFrom(RegisterSubscriberResponse other)
Parameter
Name Description
other RegisterSubscriberResponse
Returns
Type Description
RegisterSubscriberResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegisterSubscriberResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RegisterSubscriberResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegisterSubscriberResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RegisterSubscriberResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

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

public RegisterSubscriberResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

setTopic(String value)

public RegisterSubscriberResponse.Builder setTopic(String value)

Name of the topic the subscriber will listen to.

string topic = 1;

Parameter
Name Description
value String

The topic to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for topic to set.

Returns
Type Description
RegisterSubscriberResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RegisterSubscriberResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides