Class PushConfig.PubsubWrapper.Builder (1.134.1)

public static final class PushConfig.PubsubWrapper.Builder extends GeneratedMessageV3.Builder<PushConfig.PubsubWrapper.Builder> 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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PushConfig.PubsubWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

build()

public PushConfig.PubsubWrapper build()
Returns
Type Description
PushConfig.PubsubWrapper

buildPartial()

public PushConfig.PubsubWrapper buildPartial()
Returns
Type Description
PushConfig.PubsubWrapper

clear()

public PushConfig.PubsubWrapper.Builder clear()
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PushConfig.PubsubWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PushConfig.PubsubWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

clone()

public PushConfig.PubsubWrapper.Builder clone()
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

getDefaultInstanceForType()

public PushConfig.PubsubWrapper getDefaultInstanceForType()
Returns
Type Description
PushConfig.PubsubWrapper

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PushConfig.PubsubWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PushConfig.PubsubWrapper.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

mergeFrom(PushConfig.PubsubWrapper other)

public PushConfig.PubsubWrapper.Builder mergeFrom(PushConfig.PubsubWrapper other)
Parameter
Name Description
other PushConfig.PubsubWrapper
Returns
Type Description
PushConfig.PubsubWrapper.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PushConfig.PubsubWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PushConfig.PubsubWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PushConfig.PubsubWrapper.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PushConfig.PubsubWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PushConfig.PubsubWrapper.Builder
Overrides