Class ClusterEventData.Builder (0.14.1)

public static final class ClusterEventData.Builder extends GeneratedMessageV3.Builder<ClusterEventData.Builder> implements ClusterEventDataOrBuilder

The data within all Cluster events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClusterEventData build()
Returns
TypeDescription
ClusterEventData

buildPartial()

public ClusterEventData buildPartial()
Returns
TypeDescription
ClusterEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClusterEventData.Builder
Overrides

clearPayload()

public ClusterEventData.Builder clearPayload()

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

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

Returns
TypeDescription
ClusterEventData.Builder

clone()

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

getDefaultInstanceForType()

public ClusterEventData getDefaultInstanceForType()
Returns
TypeDescription
ClusterEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Cluster getPayload()

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

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

Returns
TypeDescription
Cluster

The payload.

getPayloadBuilder()

public Cluster.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
Cluster.Builder

getPayloadOrBuilder()

public ClusterOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
ClusterOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public ClusterEventData.Builder mergeFrom(ClusterEventData other)
Parameter
NameDescription
otherClusterEventData
Returns
TypeDescription
ClusterEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClusterEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClusterEventData.Builder
Overrides

mergePayload(Cluster value)

public ClusterEventData.Builder mergePayload(Cluster value)

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

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

Parameter
NameDescription
valueCluster
Returns
TypeDescription
ClusterEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Cluster value)

public ClusterEventData.Builder setPayload(Cluster value)

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

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

Parameter
NameDescription
valueCluster
Returns
TypeDescription
ClusterEventData.Builder

setPayload(Cluster.Builder builderForValue)

public ClusterEventData.Builder setPayload(Cluster.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueCluster.Builder
Returns
TypeDescription
ClusterEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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