Class AnalysisEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisEventData build()
Returns
TypeDescription
AnalysisEventData

buildPartial()

public AnalysisEventData buildPartial()
Returns
TypeDescription
AnalysisEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AnalysisEventData getDefaultInstanceForType()
Returns
TypeDescription
AnalysisEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public AnalysisEventData.Builder mergeFrom(AnalysisEventData other)
Parameter
NameDescription
otherAnalysisEventData
Returns
TypeDescription
AnalysisEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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