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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface StreamWithAnnotationOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder) \n\n public interface StreamWithAnnotationOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getApplicationAnnotations(int index)\n\n public abstract StreamAnnotation getApplicationAnnotations(int index)\n\nAnnotations that will be applied to the whole application.\n\n`repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;\n`\n\n### getApplicationAnnotationsCount()\n\n public abstract int getApplicationAnnotationsCount()\n\nAnnotations that will be applied to the whole application.\n\n`repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;\n`\n\n### getApplicationAnnotationsList()\n\n public abstract List\u003cStreamAnnotation\u003e getApplicationAnnotationsList()\n\nAnnotations that will be applied to the whole application.\n\n`repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;\n`\n\n### getApplicationAnnotationsOrBuilder(int index)\n\n public abstract StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)\n\nAnnotations that will be applied to the whole application.\n\n`repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;\n`\n\n### getApplicationAnnotationsOrBuilderList()\n\n public abstract List\u003c? extends StreamAnnotationOrBuilder\u003e getApplicationAnnotationsOrBuilderList()\n\nAnnotations that will be applied to the whole application.\n\n`repeated .google.events.cloud.visionai.v1.StreamAnnotation application_annotations = 2;\n`\n\n### getNodeAnnotations(int index)\n\n public abstract StreamWithAnnotation.NodeAnnotation getNodeAnnotations(int index)\n\nAnnotations that will be applied to the specific node of the application.\nIf the same type of the annotations is applied to both application and\nnode, the node annotation will be added in addition to the global\napplication one.\nFor example, if there is one active zone annotation for the whole\napplication and one active zone annotation for the Occupancy Analytic\nprocessor, then the Occupancy Analytic processor will have two active zones\ndefined.\n\n`\nrepeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;\n`\n\n### getNodeAnnotationsCount()\n\n public abstract int getNodeAnnotationsCount()\n\nAnnotations that will be applied to the specific node of the application.\nIf the same type of the annotations is applied to both application and\nnode, the node annotation will be added in addition to the global\napplication one.\nFor example, if there is one active zone annotation for the whole\napplication and one active zone annotation for the Occupancy Analytic\nprocessor, then the Occupancy Analytic processor will have two active zones\ndefined.\n\n`\nrepeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;\n`\n\n### getNodeAnnotationsList()\n\n public abstract List\u003cStreamWithAnnotation.NodeAnnotation\u003e getNodeAnnotationsList()\n\nAnnotations that will be applied to the specific node of the application.\nIf the same type of the annotations is applied to both application and\nnode, the node annotation will be added in addition to the global\napplication one.\nFor example, if there is one active zone annotation for the whole\napplication and one active zone annotation for the Occupancy Analytic\nprocessor, then the Occupancy Analytic processor will have two active zones\ndefined.\n\n`\nrepeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;\n`\n\n### getNodeAnnotationsOrBuilder(int index)\n\n public abstract StreamWithAnnotation.NodeAnnotationOrBuilder getNodeAnnotationsOrBuilder(int index)\n\nAnnotations that will be applied to the specific node of the application.\nIf the same type of the annotations is applied to both application and\nnode, the node annotation will be added in addition to the global\napplication one.\nFor example, if there is one active zone annotation for the whole\napplication and one active zone annotation for the Occupancy Analytic\nprocessor, then the Occupancy Analytic processor will have two active zones\ndefined.\n\n`\nrepeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;\n`\n\n### getNodeAnnotationsOrBuilderList()\n\n public abstract List\u003c? extends StreamWithAnnotation.NodeAnnotationOrBuilder\u003e getNodeAnnotationsOrBuilderList()\n\nAnnotations that will be applied to the specific node of the application.\nIf the same type of the annotations is applied to both application and\nnode, the node annotation will be added in addition to the global\napplication one.\nFor example, if there is one active zone annotation for the whole\napplication and one active zone annotation for the Occupancy Analytic\nprocessor, then the Occupancy Analytic processor will have two active zones\ndefined.\n\n`\nrepeated .google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;\n`\n\n### getStream()\n\n public abstract String getStream()\n\nVision AI Stream resource name.\n\n`string stream = 1;`\n\n### getStreamBytes()\n\n public abstract ByteString getStreamBytes()\n\nVision AI Stream resource name.\n\n`string stream = 1;`"]]