Package com.google.cloud.visionai.v1
Class StreamWithAnnotation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamWithAnnotation.Builder>
com.google.cloud.visionai.v1.StreamWithAnnotation.Builder
- All Implemented Interfaces:
StreamWithAnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamWithAnnotation
public static final class StreamWithAnnotation.Builder
extends com.google.protobuf.GeneratedMessage.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.cloud.visionai.v1.StreamWithAnnotation-
Method Summary
Modifier and TypeMethodDescriptionaddAllApplicationAnnotations(Iterable<? extends StreamAnnotation> values) Annotations that will be applied to the whole application.addAllNodeAnnotations(Iterable<? extends StreamWithAnnotation.NodeAnnotation> values) Annotations that will be applied to the specific node of the application.addApplicationAnnotations(int index, StreamAnnotation value) Annotations that will be applied to the whole application.addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.Annotations that will be applied to the whole application.addApplicationAnnotations(StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.Annotations that will be applied to the whole application.addApplicationAnnotationsBuilder(int index) Annotations that will be applied to the whole application.addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value) Annotations that will be applied to the specific node of the application.addNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue) Annotations that will be applied to the specific node of the application.Annotations that will be applied to the specific node of the application.addNodeAnnotations(StreamWithAnnotation.NodeAnnotation.Builder builderForValue) Annotations that will be applied to the specific node of the application.Annotations that will be applied to the specific node of the application.addNodeAnnotationsBuilder(int index) Annotations that will be applied to the specific node of the application.build()clear()Annotations that will be applied to the whole application.Annotations that will be applied to the specific node of the application.Vision AI Stream resource name.getApplicationAnnotations(int index) Annotations that will be applied to the whole application.getApplicationAnnotationsBuilder(int index) Annotations that will be applied to the whole application.Annotations that will be applied to the whole application.intAnnotations that will be applied to the whole application.Annotations that will be applied to the whole application.getApplicationAnnotationsOrBuilder(int index) Annotations that will be applied to the whole application.List<? extends StreamAnnotationOrBuilder>Annotations that will be applied to the whole application.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNodeAnnotations(int index) Annotations that will be applied to the specific node of the application.getNodeAnnotationsBuilder(int index) Annotations that will be applied to the specific node of the application.Annotations that will be applied to the specific node of the application.intAnnotations that will be applied to the specific node of the application.Annotations that will be applied to the specific node of the application.getNodeAnnotationsOrBuilder(int index) Annotations that will be applied to the specific node of the application.List<? extends StreamWithAnnotation.NodeAnnotationOrBuilder>Annotations that will be applied to the specific node of the application.Vision AI Stream resource name.com.google.protobuf.ByteStringVision AI Stream resource name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(StreamWithAnnotation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeApplicationAnnotations(int index) Annotations that will be applied to the whole application.removeNodeAnnotations(int index) Annotations that will be applied to the specific node of the application.setApplicationAnnotations(int index, StreamAnnotation value) Annotations that will be applied to the whole application.setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation value) Annotations that will be applied to the specific node of the application.setNodeAnnotations(int index, StreamWithAnnotation.NodeAnnotation.Builder builderForValue) Annotations that will be applied to the specific node of the application.Vision AI Stream resource name.setStreamBytes(com.google.protobuf.ByteString value) Vision AI Stream resource name.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StreamWithAnnotation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamWithAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StreamWithAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamWithAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamWithAnnotation.Builder>
-
mergeFrom
public StreamWithAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamWithAnnotation.Builder>- Throws:
IOException
-
getStream
Vision AI Stream resource name.
string stream = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getStreamin interfaceStreamWithAnnotationOrBuilder- Returns:
- The stream.
-
getStreamBytes
public com.google.protobuf.ByteString getStreamBytes()Vision AI Stream resource name.
string stream = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getStreamBytesin interfaceStreamWithAnnotationOrBuilder- Returns:
- The bytes for stream.
-
setStream
Vision AI Stream resource name.
string stream = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The stream to set.- Returns:
- This builder for chaining.
-
clearStream
Vision AI Stream resource name.
string stream = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setStreamBytes
Vision AI Stream resource name.
string stream = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for stream to set.- Returns:
- This builder for chaining.
-
getApplicationAnnotationsList
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;- Specified by:
getApplicationAnnotationsListin interfaceStreamWithAnnotationOrBuilder
-
getApplicationAnnotationsCount
public int getApplicationAnnotationsCount()Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;- Specified by:
getApplicationAnnotationsCountin interfaceStreamWithAnnotationOrBuilder
-
getApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;- Specified by:
getApplicationAnnotationsin interfaceStreamWithAnnotationOrBuilder
-
setApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
setApplicationAnnotations
public StreamWithAnnotation.Builder setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addApplicationAnnotations
public StreamWithAnnotation.Builder addApplicationAnnotations(StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addApplicationAnnotations
public StreamWithAnnotation.Builder addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue) Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addAllApplicationAnnotations
public StreamWithAnnotation.Builder addAllApplicationAnnotations(Iterable<? extends StreamAnnotation> values) Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
clearApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
removeApplicationAnnotations
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
getApplicationAnnotationsBuilder
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
getApplicationAnnotationsOrBuilder
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;- Specified by:
getApplicationAnnotationsOrBuilderin interfaceStreamWithAnnotationOrBuilder
-
getApplicationAnnotationsOrBuilderList
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2;- Specified by:
getApplicationAnnotationsOrBuilderListin interfaceStreamWithAnnotationOrBuilder
-
addApplicationAnnotationsBuilder
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
addApplicationAnnotationsBuilder
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
getApplicationAnnotationsBuilderList
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 2; -
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;- Specified by:
getNodeAnnotationsListin interfaceStreamWithAnnotationOrBuilder
-
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;- Specified by:
getNodeAnnotationsCountin interfaceStreamWithAnnotationOrBuilder
-
getNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;- Specified by:
getNodeAnnotationsin interfaceStreamWithAnnotationOrBuilder
-
setNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
setNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
addNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
addNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
addNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
addNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
addAllNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
removeNodeAnnotations
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
getNodeAnnotationsBuilder
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
getNodeAnnotationsOrBuilder
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;- Specified by:
getNodeAnnotationsOrBuilderin interfaceStreamWithAnnotationOrBuilder
-
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;- Specified by:
getNodeAnnotationsOrBuilderListin interfaceStreamWithAnnotationOrBuilder
-
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3; -
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.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation node_annotations = 3;
-