Class RegisterSubscriberResponse (3.56.0)

public final class RegisterSubscriberResponse extends GeneratedMessageV3 implements RegisterSubscriberResponseOrBuilder

Response Message for RegisterSubscriber.

Protobuf type google.cloud.channel.v1.RegisterSubscriberResponse

Static Fields

TOPIC_FIELD_NUMBER

public static final int TOPIC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RegisterSubscriberResponse getDefaultInstance()
Returns
Type Description
RegisterSubscriberResponse

getDescriptor()

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

newBuilder()

public static RegisterSubscriberResponse.Builder newBuilder()
Returns
Type Description
RegisterSubscriberResponse.Builder

newBuilder(RegisterSubscriberResponse prototype)

public static RegisterSubscriberResponse.Builder newBuilder(RegisterSubscriberResponse prototype)
Parameter
Name Description
prototype RegisterSubscriberResponse
Returns
Type Description
RegisterSubscriberResponse.Builder

parseDelimitedFrom(InputStream input)

public static RegisterSubscriberResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RegisterSubscriberResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RegisterSubscriberResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RegisterSubscriberResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RegisterSubscriberResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RegisterSubscriberResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RegisterSubscriberResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegisterSubscriberResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RegisterSubscriberResponse> parser()
Returns
Type Description
Parser<RegisterSubscriberResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RegisterSubscriberResponse getDefaultInstanceForType()
Returns
Type Description
RegisterSubscriberResponse

getParserForType()

public Parser<RegisterSubscriberResponse> getParserForType()
Returns
Type Description
Parser<RegisterSubscriberResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RegisterSubscriberResponse.Builder newBuilderForType()
Returns
Type Description
RegisterSubscriberResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RegisterSubscriberResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RegisterSubscriberResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RegisterSubscriberResponse.Builder toBuilder()
Returns
Type Description
RegisterSubscriberResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException