public static final class PushConfig.NoWrapper.Builder extends GeneratedMessageV3.Builder<PushConfig.NoWrapper.Builder> implements PushConfig.NoWrapperOrBuilder
Sets the data
field as the HTTP body for delivery.
Protobuf type google.pubsub.v1.PushConfig.NoWrapper
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.NoWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PushConfig.NoWrapper build()
buildPartial()
public PushConfig.NoWrapper buildPartial()
clear()
public PushConfig.NoWrapper.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PushConfig.NoWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PushConfig.NoWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PushConfig.NoWrapper.Builder clearWriteMetadata()
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];
clone()
public PushConfig.NoWrapper.Builder clone()
Overrides
getDefaultInstanceForType()
public PushConfig.NoWrapper getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public PushConfig.NoWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PushConfig.NoWrapper.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(PushConfig.NoWrapper other)
public PushConfig.NoWrapper.Builder mergeFrom(PushConfig.NoWrapper other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.NoWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.NoWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PushConfig.NoWrapper.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.NoWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PushConfig.NoWrapper.Builder setWriteMetadata(boolean value)
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];
Parameter |
Name |
Description |
value |
boolean
The writeMetadata to set.
|