Class ProcessorEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessorEventData build()
Returns
TypeDescription
ProcessorEventData

buildPartial()

public ProcessorEventData buildPartial()
Returns
TypeDescription
ProcessorEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ProcessorEventData getDefaultInstanceForType()
Returns
TypeDescription
ProcessorEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public ProcessorEventData.Builder mergeFrom(ProcessorEventData other)
Parameter
NameDescription
otherProcessorEventData
Returns
TypeDescription
ProcessorEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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