Class AnalysisEventData.Builder (0.15.0)

public static final class AnalysisEventData.Builder extends GeneratedMessageV3.Builder<AnalysisEventData.Builder> implements AnalysisEventDataOrBuilder

The data within all Analysis events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisEventData build()
Returns
Type Description
AnalysisEventData

buildPartial()

public AnalysisEventData buildPartial()
Returns
Type Description
AnalysisEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public AnalysisEventData.Builder clearPayload()

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

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

Returns
Type Description
AnalysisEventData.Builder

clone()

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

getDefaultInstanceForType()

public AnalysisEventData getDefaultInstanceForType()
Returns
Type Description
AnalysisEventData

getDescriptorForType()

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

getPayload()

public Analysis getPayload()

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

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

Returns
Type Description
Analysis

The payload.

getPayloadBuilder()

public Analysis.Builder getPayloadBuilder()

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

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

Returns
Type Description
Analysis.Builder

getPayloadOrBuilder()

public AnalysisOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
AnalysisOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Analysis value)

public AnalysisEventData.Builder mergePayload(Analysis value)

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

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

Parameter
Name Description
value Analysis
Returns
Type Description
AnalysisEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Analysis value)

public AnalysisEventData.Builder setPayload(Analysis value)

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

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

Parameter
Name Description
value Analysis
Returns
Type Description
AnalysisEventData.Builder

setPayload(Analysis.Builder builderForValue)

public AnalysisEventData.Builder setPayload(Analysis.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Analysis.Builder
Returns
Type Description
AnalysisEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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