public static final class StreamWithAnnotation.Builder extends GeneratedMessageV3.Builder<StreamWithAnnotation.Builder> implements StreamWithAnnotationOrBuilder
Message describing Vision AI stream with application specific annotations.
All the StreamAnnotation object inside this message MUST have unique id.
Protobuf type google.events.cloud.visionai.v1.StreamWithAnnotation
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
addAllApplicationAnnotations(Iterable<? extends StreamAnnotation> values)
public StreamWithAnnotation.Builder addAllApplicationAnnotations(Iterable<? extends StreamAnnotation> values)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.events.cloud.visionai.v1.StreamAnnotation>
|
addAllNodeAnnotations(Iterable<? extends StreamWithAnnotation.NodeAnnotation> values)
public StreamWithAnnotation.Builder addAllNodeAnnotations(Iterable<? extends StreamWithAnnotation.NodeAnnotation> values)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation>
|
addApplicationAnnotations(StreamAnnotation value)
public StreamWithAnnotation.Builder addApplicationAnnotations(StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
addApplicationAnnotations(StreamAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder addApplicationAnnotations(StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
addApplicationAnnotations(int index, StreamAnnotation value)
public StreamWithAnnotation.Builder addApplicationAnnotations(int index, StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
addApplicationAnnotationsBuilder()
public StreamAnnotation.Builder addApplicationAnnotationsBuilder()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
addApplicationAnnotationsBuilder(int index)
public StreamAnnotation.Builder addApplicationAnnotationsBuilder(int index)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
addNodeAnnotations(StreamWithAnnotation.NodeAnnotation value)
public StreamWithAnnotation.Builder addNodeAnnotations(StreamWithAnnotation.NodeAnnotation value)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
addNodeAnnotations(StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder addNodeAnnotations(StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value)
public StreamWithAnnotation.Builder addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
addNodeAnnotationsBuilder()
public StreamWithAnnotation.NodeAnnotation.Builder addNodeAnnotationsBuilder()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
addNodeAnnotationsBuilder(int index)
public StreamWithAnnotation.NodeAnnotation.Builder addNodeAnnotationsBuilder(int index)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamWithAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamWithAnnotation build()
buildPartial()
public StreamWithAnnotation buildPartial()
clear()
public StreamWithAnnotation.Builder clear()
Overrides
clearApplicationAnnotations()
public StreamWithAnnotation.Builder clearApplicationAnnotations()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
clearField(Descriptors.FieldDescriptor field)
public StreamWithAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodeAnnotations()
public StreamWithAnnotation.Builder clearNodeAnnotations()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamWithAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStream()
public StreamWithAnnotation.Builder clearStream()
Vision AI Stream resource name.
string stream = 1;
clone()
public StreamWithAnnotation.Builder clone()
Overrides
getApplicationAnnotations(int index)
public StreamAnnotation getApplicationAnnotations(int index)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getApplicationAnnotationsBuilder(int index)
public StreamAnnotation.Builder getApplicationAnnotationsBuilder(int index)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getApplicationAnnotationsBuilderList()
public List<StreamAnnotation.Builder> getApplicationAnnotationsBuilderList()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
getApplicationAnnotationsCount()
public int getApplicationAnnotationsCount()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Returns |
Type |
Description |
int |
|
getApplicationAnnotationsList()
public List<StreamAnnotation> getApplicationAnnotationsList()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
getApplicationAnnotationsOrBuilder(int index)
public StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getApplicationAnnotationsOrBuilderList()
public List<? extends StreamAnnotationOrBuilder> getApplicationAnnotationsOrBuilderList()
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.StreamAnnotationOrBuilder> |
|
getDefaultInstanceForType()
public StreamWithAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNodeAnnotations(int index)
public StreamWithAnnotation.NodeAnnotation getNodeAnnotations(int index)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsBuilder(int index)
public StreamWithAnnotation.NodeAnnotation.Builder getNodeAnnotationsBuilder(int index)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsBuilderList()
public List<StreamWithAnnotation.NodeAnnotation.Builder> getNodeAnnotationsBuilderList()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
getNodeAnnotationsCount()
public int getNodeAnnotationsCount()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Returns |
Type |
Description |
int |
|
getNodeAnnotationsList()
public List<StreamWithAnnotation.NodeAnnotation> getNodeAnnotationsList()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
getNodeAnnotationsOrBuilder(int index)
public StreamWithAnnotation.NodeAnnotationOrBuilder getNodeAnnotationsOrBuilder(int index)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsOrBuilderList()
public List<? extends StreamWithAnnotation.NodeAnnotationOrBuilder> getNodeAnnotationsOrBuilderList()
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotationOrBuilder> |
|
getStream()
public String getStream()
Vision AI Stream resource name.
string stream = 1;
Returns |
Type |
Description |
String |
The stream.
|
getStreamBytes()
public ByteString getStreamBytes()
Vision AI Stream resource name.
string stream = 1;
Returns |
Type |
Description |
ByteString |
The bytes for stream.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamWithAnnotation other)
public StreamWithAnnotation.Builder mergeFrom(StreamWithAnnotation other)
public StreamWithAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamWithAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamWithAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeApplicationAnnotations(int index)
public StreamWithAnnotation.Builder removeApplicationAnnotations(int index)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
removeNodeAnnotations(int index)
public StreamWithAnnotation.Builder removeNodeAnnotations(int index)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
Parameter |
Name |
Description |
index |
int
|
setApplicationAnnotations(int index, StreamAnnotation value)
public StreamWithAnnotation.Builder setApplicationAnnotations(int index, StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public StreamWithAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value)
public StreamWithAnnotation.Builder setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
public StreamWithAnnotation.Builder setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue)
Annotations that will be applied to the specific node of the application.
If the same type of the annotations is applied to both application and
node, the node annotation will be added in addition to the global
application one.
For example, if there is one active zone annotation for the whole
application and one active zone annotation for the Occupancy Analytic
processor, then the Occupancy Analytic processor will have two active zones
defined.
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamWithAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStream(String value)
public StreamWithAnnotation.Builder setStream(String value)
Vision AI Stream resource name.
string stream = 1;
Parameter |
Name |
Description |
value |
String
The stream to set.
|
setStreamBytes(ByteString value)
public StreamWithAnnotation.Builder setStreamBytes(ByteString value)
Vision AI Stream resource name.
string stream = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for stream to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamWithAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides