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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PushConfig.NoWrapper.BuilderImplements
PushConfig.NoWrapperOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.NoWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
build()
public PushConfig.NoWrapper build()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
buildPartial()
public PushConfig.NoWrapper buildPartial()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
clear()
public PushConfig.NoWrapper.Builder clear()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
clearField(Descriptors.FieldDescriptor field)
public PushConfig.NoWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PushConfig.NoWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
clearWriteMetadata()
public PushConfig.NoWrapper.Builder clearWriteMetadata()
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 | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder | This builder for chaining. |
clone()
public PushConfig.NoWrapper.Builder clone()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
getDefaultInstanceForType()
public PushConfig.NoWrapper getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
boolean | The writeMetadata. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PushConfig.NoWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PushConfig.NoWrapper.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
mergeFrom(PushConfig.NoWrapper other)
public PushConfig.NoWrapper.Builder mergeFrom(PushConfig.NoWrapper other)
Parameter | |
---|---|
Name | Description |
other | PushConfig.NoWrapper |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.NoWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.NoWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PushConfig.NoWrapper.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.NoWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder |
setWriteMetadata(boolean value)
public PushConfig.NoWrapper.Builder setWriteMetadata(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value | boolean The writeMetadata to set. |
Returns | |
---|---|
Type | Description |
PushConfig.NoWrapper.Builder | This builder for chaining. |