Class PushConfig.PubsubWrapper.Builder (1.125.13)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PushConfig.PubsubWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

build()

public PushConfig.PubsubWrapper build()
Returns
TypeDescription
PushConfig.PubsubWrapper

buildPartial()

public PushConfig.PubsubWrapper buildPartial()
Returns
TypeDescription
PushConfig.PubsubWrapper

clear()

public PushConfig.PubsubWrapper.Builder clear()
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PushConfig.PubsubWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PushConfig.PubsubWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

clone()

public PushConfig.PubsubWrapper.Builder clone()
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PushConfig.PubsubWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PushConfig.PubsubWrapper.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

mergeFrom(PushConfig.PubsubWrapper other)

public PushConfig.PubsubWrapper.Builder mergeFrom(PushConfig.PubsubWrapper other)
Parameter
NameDescription
otherPushConfig.PubsubWrapper
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PushConfig.PubsubWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PushConfig.PubsubWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PushConfig.PubsubWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PushConfig.PubsubWrapper.Builder
Overrides