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