Class StreamEventData.Builder (0.16.0)

public static final class StreamEventData.Builder extends GeneratedMessageV3.Builder<StreamEventData.Builder> implements StreamEventDataOrBuilder

The data within all Stream events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamEventData build()
Returns
Type Description
StreamEventData

buildPartial()

public StreamEventData buildPartial()
Returns
Type Description
StreamEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public StreamEventData.Builder clearPayload()

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

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

Returns
Type Description
StreamEventData.Builder

clone()

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

getDefaultInstanceForType()

public StreamEventData getDefaultInstanceForType()
Returns
Type Description
StreamEventData

getDescriptorForType()

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

getPayload()

public Stream getPayload()

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

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

Returns
Type Description
Stream

The payload.

getPayloadBuilder()

public Stream.Builder getPayloadBuilder()

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

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

Returns
Type Description
Stream.Builder

getPayloadOrBuilder()

public StreamOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
StreamOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Stream value)

public StreamEventData.Builder mergePayload(Stream value)

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

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

Parameter
Name Description
value Stream
Returns
Type Description
StreamEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Stream value)

public StreamEventData.Builder setPayload(Stream value)

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

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

Parameter
Name Description
value Stream
Returns
Type Description
StreamEventData.Builder

setPayload(Stream.Builder builderForValue)

public StreamEventData.Builder setPayload(Stream.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Stream.Builder
Returns
Type Description
StreamEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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