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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamEventData build()
buildPartial()
public StreamEventData buildPartial()
clear()
public StreamEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StreamEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public StreamEventData.Builder clearPayload()
Optional. The Stream event payload. Unset for deletion events.
optional .google.events.cloud.visionai.v1.Stream payload = 1;
clone()
public StreamEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public StreamEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getPayloadOrBuilder()
public StreamOrBuilder getPayloadOrBuilder()
Optional. The Stream event payload. Unset for deletion events.
optional .google.events.cloud.visionai.v1.Stream payload = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamEventData other)
public StreamEventData.Builder mergeFrom(StreamEventData other)
public StreamEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StreamEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides