Class EventEventData.Builder (0.16.0)

public static final class EventEventData.Builder extends GeneratedMessageV3.Builder<EventEventData.Builder> implements EventEventDataOrBuilder

The data within all Event events.

Protobuf type google.events.cloud.visionai.v1.EventEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EventEventData build()
Returns
Type Description
EventEventData

buildPartial()

public EventEventData buildPartial()
Returns
Type Description
EventEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public EventEventData.Builder clearPayload()

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Returns
Type Description
EventEventData.Builder

clone()

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

getDefaultInstanceForType()

public EventEventData getDefaultInstanceForType()
Returns
Type Description
EventEventData

getDescriptorForType()

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

getPayload()

public Event getPayload()

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Returns
Type Description
Event

The payload.

getPayloadBuilder()

public Event.Builder getPayloadBuilder()

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Returns
Type Description
Event.Builder

getPayloadOrBuilder()

public EventOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Returns
Type Description
EventOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.visionai.v1.Event 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(EventEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Event value)

public EventEventData.Builder mergePayload(Event value)

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Parameter
Name Description
value Event
Returns
Type Description
EventEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Event value)

public EventEventData.Builder setPayload(Event value)

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Parameter
Name Description
value Event
Returns
Type Description
EventEventData.Builder

setPayload(Event.Builder builderForValue)

public EventEventData.Builder setPayload(Event.Builder builderForValue)

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

optional .google.events.cloud.visionai.v1.Event payload = 1;

Parameter
Name Description
builderForValue Event.Builder
Returns
Type Description
EventEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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