public static final class TriggerEventData.Builder extends GeneratedMessageV3.Builder<TriggerEventData.Builder> implements TriggerEventDataOrBuilder
The data within all Trigger events.
Protobuf type google.events.cloud.eventarc.v1.TriggerEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TriggerEventData.BuilderImplements
TriggerEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TriggerEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
build()
public TriggerEventData build()
Returns | |
---|---|
Type | Description |
TriggerEventData |
buildPartial()
public TriggerEventData buildPartial()
Returns | |
---|---|
Type | Description |
TriggerEventData |
clear()
public TriggerEventData.Builder clear()
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public TriggerEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TriggerEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
clearPayload()
public TriggerEventData.Builder clearPayload()
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
clone()
public TriggerEventData.Builder clone()
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
getDefaultInstanceForType()
public TriggerEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TriggerEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Trigger getPayload()
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Returns | |
---|---|
Type | Description |
Trigger | The payload. |
getPayloadBuilder()
public Trigger.Builder getPayloadBuilder()
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Returns | |
---|---|
Type | Description |
Trigger.Builder |
getPayloadOrBuilder()
public TriggerOrBuilder getPayloadOrBuilder()
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Returns | |
---|---|
Type | Description |
TriggerOrBuilder |
hasPayload()
public boolean hasPayload()
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TriggerEventData other)
public TriggerEventData.Builder mergeFrom(TriggerEventData other)
Parameter | |
---|---|
Name | Description |
other | TriggerEventData |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TriggerEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TriggerEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
mergePayload(Trigger value)
public TriggerEventData.Builder mergePayload(Trigger value)
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Parameter | |
---|---|
Name | Description |
value | Trigger |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TriggerEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TriggerEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
setPayload(Trigger value)
public TriggerEventData.Builder setPayload(Trigger value)
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Parameter | |
---|---|
Name | Description |
value | Trigger |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
setPayload(Trigger.Builder builderForValue)
public TriggerEventData.Builder setPayload(Trigger.Builder builderForValue)
The Trigger event payload.
.google.events.cloud.eventarc.v1.Trigger payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Trigger.Builder |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TriggerEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TriggerEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TriggerEventData.Builder |