Class StreamEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamEventData build()
Returns
TypeDescription
StreamEventData

buildPartial()

public StreamEventData buildPartial()
Returns
TypeDescription
StreamEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StreamEventData getDefaultInstanceForType()
Returns
TypeDescription
StreamEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public StreamEventData.Builder mergeFrom(StreamEventData other)
Parameter
NameDescription
otherStreamEventData
Returns
TypeDescription
StreamEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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