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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FunctionEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FunctionEventData build()
buildPartial()
public FunctionEventData buildPartial()
clear()
public FunctionEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FunctionEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FunctionEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public FunctionEventData.Builder clearPayload()
Optional. The Function event payload. Unset for deletion events.
optional .google.events.cloud.functions.v2.Function payload = 1;
clone()
public FunctionEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public FunctionEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getPayloadOrBuilder()
public FunctionOrBuilder getPayloadOrBuilder()
Optional. The Function event payload. Unset for deletion events.
optional .google.events.cloud.functions.v2.Function payload = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FunctionEventData other)
public FunctionEventData.Builder mergeFrom(FunctionEventData other)
public FunctionEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FunctionEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FunctionEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FunctionEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FunctionEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FunctionEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides