Class PushConfig.NoWrapper (1.125.3)

public static final class PushConfig.NoWrapper extends GeneratedMessageV3 implements PushConfig.NoWrapperOrBuilder

Sets the data field as the HTTP body for delivery.

Protobuf type google.pubsub.v1.PushConfig.NoWrapper

Static Fields

WRITE_METADATA_FIELD_NUMBER

public static final int WRITE_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PushConfig.NoWrapper getDefaultInstance()
Returns
TypeDescription
PushConfig.NoWrapper

getDescriptor()

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

newBuilder()

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

newBuilder(PushConfig.NoWrapper prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWriteMetadata()

public boolean getWriteMetadata()

When true, writes the Pub/Sub message metadata to x-goog-pubsub-<KEY>:<VAL> headers of the HTTP request. Writes the Pub/Sub message attributes to <KEY>:<VAL> headers of the HTTP request.

bool write_metadata = 1;

Returns
TypeDescription
boolean

The writeMetadata.

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.NoWrapper.Builder newBuilderForType()
Returns
TypeDescription
PushConfig.NoWrapper.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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