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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PushConfig.NoWrapperImplements
PushConfig.NoWrapperOrBuilderStatic Fields
WRITE_METADATA_FIELD_NUMBER
public static final int WRITE_METADATA_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PushConfig.NoWrapper getDefaultInstance()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PushConfig.NoWrapper.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
newBuilder(PushConfig.NoWrapper prototype)
public static PushConfig.NoWrapper.Builder newBuilder(PushConfig.NoWrapper prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PushConfig.NoWrapper |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
parseDelimitedFrom(InputStream input)
public static PushConfig.NoWrapper parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PushConfig.NoWrapper parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PushConfig.NoWrapper parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PushConfig.NoWrapper parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PushConfig.NoWrapper parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PushConfig.NoWrapper parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.NoWrapper parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PushConfig.NoWrapper> parser()
Returns | |
---|---|
Type | Description |
Parser<NoWrapper> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public PushConfig.NoWrapper getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
getParserForType()
public Parser<PushConfig.NoWrapper> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<NoWrapper> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getWriteMetadata()
public boolean getWriteMetadata()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The writeMetadata. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PushConfig.NoWrapper.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PushConfig.NoWrapper.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PushConfig.NoWrapper.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |