Class PushConfig.PubsubWrapper (1.131.0)

public static final class PushConfig.PubsubWrapper extends GeneratedMessageV3 implements PushConfig.PubsubWrapperOrBuilder

The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).

Protobuf type google.pubsub.v1.PushConfig.PubsubWrapper

Static Methods

getDefaultInstance()

public static PushConfig.PubsubWrapper getDefaultInstance()
Returns
Type Description
PushConfig.PubsubWrapper

getDescriptor()

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

newBuilder()

public static PushConfig.PubsubWrapper.Builder newBuilder()
Returns
Type Description
PushConfig.PubsubWrapper.Builder

newBuilder(PushConfig.PubsubWrapper prototype)

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

parseDelimitedFrom(InputStream input)

public static PushConfig.PubsubWrapper parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PushConfig.PubsubWrapper
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PushConfig.PubsubWrapper parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PushConfig.PubsubWrapper
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PushConfig.PubsubWrapper parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PushConfig.PubsubWrapper
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PushConfig.PubsubWrapper parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PushConfig.PubsubWrapper
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PushConfig.PubsubWrapper parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PushConfig.PubsubWrapper
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PushConfig.PubsubWrapper> parser()
Returns
Type Description
Parser<PubsubWrapper>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PushConfig.PubsubWrapper getDefaultInstanceForType()
Returns
Type Description
PushConfig.PubsubWrapper

getParserForType()

public Parser<PushConfig.PubsubWrapper> getParserForType()
Returns
Type Description
Parser<PubsubWrapper>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 PushConfig.PubsubWrapper.Builder newBuilderForType()
Returns
Type Description
PushConfig.PubsubWrapper.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PushConfig.PubsubWrapper.Builder toBuilder()
Returns
Type Description
PushConfig.PubsubWrapper.Builder

writeTo(CodedOutputStream output)

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