Class FunctionEventData.Builder (0.16.0)

public static final class FunctionEventData.Builder extends GeneratedMessageV3.Builder<FunctionEventData.Builder> implements FunctionEventDataOrBuilder

The data within all Function events.

Protobuf type google.events.cloud.functions.v2.FunctionEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FunctionEventData build()
Returns
Type Description
FunctionEventData

buildPartial()

public FunctionEventData buildPartial()
Returns
Type Description
FunctionEventData

clear()

public FunctionEventData.Builder clear()
Returns
Type Description
FunctionEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public FunctionEventData.Builder clearPayload()

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Returns
Type Description
FunctionEventData.Builder

clone()

public FunctionEventData.Builder clone()
Returns
Type Description
FunctionEventData.Builder
Overrides

getDefaultInstanceForType()

public FunctionEventData getDefaultInstanceForType()
Returns
Type Description
FunctionEventData

getDescriptorForType()

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

getPayload()

public Function getPayload()

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Returns
Type Description
Function

The payload.

getPayloadBuilder()

public Function.Builder getPayloadBuilder()

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Returns
Type Description
Function.Builder

getPayloadOrBuilder()

public FunctionOrBuilder getPayloadOrBuilder()

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Returns
Type Description
FunctionOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FunctionEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Function value)

public FunctionEventData.Builder mergePayload(Function value)

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Parameter
Name Description
value Function
Returns
Type Description
FunctionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Function value)

public FunctionEventData.Builder setPayload(Function value)

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Parameter
Name Description
value Function
Returns
Type Description
FunctionEventData.Builder

setPayload(Function.Builder builderForValue)

public FunctionEventData.Builder setPayload(Function.Builder builderForValue)

Optional. The Function event payload. Unset for deletion events.

optional .google.events.cloud.functions.v2.Function payload = 1;

Parameter
Name Description
builderForValue Function.Builder
Returns
Type Description
FunctionEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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