Class RegisterSubscriberResponse.Builder (3.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegisterSubscriberResponse build()
Returns
TypeDescription
RegisterSubscriberResponse

buildPartial()

public RegisterSubscriberResponse buildPartial()
Returns
TypeDescription
RegisterSubscriberResponse

clear()

public RegisterSubscriberResponse.Builder clear()
Returns
TypeDescription
RegisterSubscriberResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RegisterSubscriberResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RegisterSubscriberResponse.Builder
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()
Returns
TypeDescription
RegisterSubscriberResponse.Builder
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
Returns
TypeDescription
RegisterSubscriberResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RegisterSubscriberResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegisterSubscriberResponse.Builder
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
Returns
TypeDescription
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
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
Returns
TypeDescription
RegisterSubscriberResponse.Builder
Overrides