Class FunctionEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FunctionEventData build()
Returns
TypeDescription
FunctionEventData

buildPartial()

public FunctionEventData buildPartial()
Returns
TypeDescription
FunctionEventData

clear()

public FunctionEventData.Builder clear()
Returns
TypeDescription
FunctionEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FunctionEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FunctionEventData.Builder

clone()

public FunctionEventData.Builder clone()
Returns
TypeDescription
FunctionEventData.Builder
Overrides

getDefaultInstanceForType()

public FunctionEventData getDefaultInstanceForType()
Returns
TypeDescription
FunctionEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FunctionOrBuilder

hasPayload()

public boolean hasPayload()

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

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

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FunctionEventData other)

public FunctionEventData.Builder mergeFrom(FunctionEventData other)
Parameter
NameDescription
otherFunctionEventData
Returns
TypeDescription
FunctionEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FunctionEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFunction
Returns
TypeDescription
FunctionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FunctionEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFunction
Returns
TypeDescription
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
NameDescription
builderForValueFunction.Builder
Returns
TypeDescription
FunctionEventData.Builder

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

public FunctionEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FunctionEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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