Class EventEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EventEventData build()
Returns
TypeDescription
EventEventData

buildPartial()

public EventEventData buildPartial()
Returns
TypeDescription
EventEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EventEventData getDefaultInstanceForType()
Returns
TypeDescription
EventEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public EventEventData.Builder mergeFrom(EventEventData other)
Parameter
NameDescription
otherEventEventData
Returns
TypeDescription
EventEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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