Class PushConfig.PubsubWrapper (1.123.18)

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
TypeDescription
PushConfig.PubsubWrapper

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PushConfig.PubsubWrapper.Builder newBuilder()
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder

newBuilder(PushConfig.PubsubWrapper prototype)

public static PushConfig.PubsubWrapper.Builder newBuilder(PushConfig.PubsubWrapper prototype)
Parameter
NameDescription
prototypePushConfig.PubsubWrapper
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder

parseDelimitedFrom(InputStream input)

public static PushConfig.PubsubWrapper parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PushConfig.PubsubWrapper parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PushConfig.PubsubWrapper parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PushConfig.PubsubWrapper parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PushConfig.PubsubWrapper parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PushConfig.PubsubWrapper parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PushConfig.PubsubWrapper parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PushConfig.PubsubWrapper getDefaultInstanceForType()
Returns
TypeDescription
PushConfig.PubsubWrapper

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PushConfig.PubsubWrapper.Builder newBuilderForType()
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PushConfig.PubsubWrapper.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PushConfig.PubsubWrapper.Builder toBuilder()
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException