Class ProcessorEventData.Builder (0.16.0)

public static final class ProcessorEventData.Builder extends GeneratedMessageV3.Builder<ProcessorEventData.Builder> implements ProcessorEventDataOrBuilder

The data within all Processor events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessorEventData build()
Returns
Type Description
ProcessorEventData

buildPartial()

public ProcessorEventData buildPartial()
Returns
Type Description
ProcessorEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ProcessorEventData.Builder clearPayload()

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

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

Returns
Type Description
ProcessorEventData.Builder

clone()

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

getDefaultInstanceForType()

public ProcessorEventData getDefaultInstanceForType()
Returns
Type Description
ProcessorEventData

getDescriptorForType()

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

getPayload()

public Processor getPayload()

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

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

Returns
Type Description
Processor

The payload.

getPayloadBuilder()

public Processor.Builder getPayloadBuilder()

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

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

Returns
Type Description
Processor.Builder

getPayloadOrBuilder()

public ProcessorOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ProcessorOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Processor value)

public ProcessorEventData.Builder mergePayload(Processor value)

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

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

Parameter
Name Description
value Processor
Returns
Type Description
ProcessorEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Processor value)

public ProcessorEventData.Builder setPayload(Processor value)

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

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

Parameter
Name Description
value Processor
Returns
Type Description
ProcessorEventData.Builder

setPayload(Processor.Builder builderForValue)

public ProcessorEventData.Builder setPayload(Processor.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Processor.Builder
Returns
Type Description
ProcessorEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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