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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PushConfig.PubsubWrapper.BuilderImplements
PushConfig.PubsubWrapperOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public PushConfig.PubsubWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PushConfig.PubsubWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper.Builder |
clone()
public PushConfig.PubsubWrapper.Builder clone()
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper.Builder |
getDefaultInstanceForType()
public PushConfig.PubsubWrapper getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.PubsubWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper.Builder |
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 |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.PubsubWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PushConfig.PubsubWrapper.Builder |