public static final class ResourceAnnotations.Builder extends GeneratedMessageV3.Builder<ResourceAnnotations.Builder> implements ResourceAnnotationsOrBuilder
Message describing general annotation for resources.
Protobuf type google.cloud.visionai.v1.ResourceAnnotations
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 ResourceAnnotations.Builder addAllApplicationAnnotations(Iterable<? extends StreamAnnotation> values)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.StreamAnnotation>
|
addAllNodeAnnotations(Iterable<? extends ApplicationNodeAnnotation> values)
public ResourceAnnotations.Builder addAllNodeAnnotations(Iterable<? extends ApplicationNodeAnnotation> 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.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.ApplicationNodeAnnotation>
|
addApplicationAnnotations(StreamAnnotation value)
public ResourceAnnotations.Builder addApplicationAnnotations(StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
addApplicationAnnotations(StreamAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder addApplicationAnnotations(StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
addApplicationAnnotations(int index, StreamAnnotation value)
public ResourceAnnotations.Builder addApplicationAnnotations(int index, StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder addApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
addApplicationAnnotationsBuilder()
public StreamAnnotation.Builder addApplicationAnnotationsBuilder()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
addApplicationAnnotationsBuilder(int index)
public StreamAnnotation.Builder addApplicationAnnotationsBuilder(int index)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Parameter |
Name |
Description |
index |
int
|
addNodeAnnotations(ApplicationNodeAnnotation value)
public ResourceAnnotations.Builder addNodeAnnotations(ApplicationNodeAnnotation 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.ApplicationNodeAnnotation node_annotations = 2;
addNodeAnnotations(ApplicationNodeAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder addNodeAnnotations(ApplicationNodeAnnotation.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.ApplicationNodeAnnotation node_annotations = 2;
addNodeAnnotations(int index, ApplicationNodeAnnotation value)
public ResourceAnnotations.Builder addNodeAnnotations(int index, ApplicationNodeAnnotation 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.ApplicationNodeAnnotation node_annotations = 2;
addNodeAnnotations(int index, ApplicationNodeAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder addNodeAnnotations(int index, ApplicationNodeAnnotation.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.ApplicationNodeAnnotation node_annotations = 2;
addNodeAnnotationsBuilder()
public ApplicationNodeAnnotation.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
addNodeAnnotationsBuilder(int index)
public ApplicationNodeAnnotation.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceAnnotations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourceAnnotations build()
buildPartial()
public ResourceAnnotations buildPartial()
clear()
public ResourceAnnotations.Builder clear()
Overrides
clearApplicationAnnotations()
public ResourceAnnotations.Builder clearApplicationAnnotations()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
clearField(Descriptors.FieldDescriptor field)
public ResourceAnnotations.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodeAnnotations()
public ResourceAnnotations.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceAnnotations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResourceAnnotations.Builder clone()
Overrides
getApplicationAnnotations(int index)
public StreamAnnotation getApplicationAnnotations(int index)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
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.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Parameter |
Name |
Description |
index |
int
|
getApplicationAnnotationsBuilderList()
public List<StreamAnnotation.Builder> getApplicationAnnotationsBuilderList()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
getApplicationAnnotationsCount()
public int getApplicationAnnotationsCount()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Returns |
Type |
Description |
int |
|
getApplicationAnnotationsList()
public List<StreamAnnotation> getApplicationAnnotationsList()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
getApplicationAnnotationsOrBuilder(int index)
public StreamAnnotationOrBuilder getApplicationAnnotationsOrBuilder(int index)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Parameter |
Name |
Description |
index |
int
|
getApplicationAnnotationsOrBuilderList()
public List<? extends StreamAnnotationOrBuilder> getApplicationAnnotationsOrBuilderList()
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.StreamAnnotationOrBuilder> |
|
getDefaultInstanceForType()
public ResourceAnnotations getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNodeAnnotations(int index)
public ApplicationNodeAnnotation 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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsBuilder(int index)
public ApplicationNodeAnnotation.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsBuilderList()
public List<ApplicationNodeAnnotation.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
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.ApplicationNodeAnnotation node_annotations = 2;
Returns |
Type |
Description |
int |
|
getNodeAnnotationsList()
public List<ApplicationNodeAnnotation> 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.ApplicationNodeAnnotation node_annotations = 2;
getNodeAnnotationsOrBuilder(int index)
public ApplicationNodeAnnotationOrBuilder 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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
getNodeAnnotationsOrBuilderList()
public List<? extends ApplicationNodeAnnotationOrBuilder> 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.ApplicationNodeAnnotation node_annotations = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ApplicationNodeAnnotationOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourceAnnotations other)
public ResourceAnnotations.Builder mergeFrom(ResourceAnnotations other)
public ResourceAnnotations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourceAnnotations.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceAnnotations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeApplicationAnnotations(int index)
public ResourceAnnotations.Builder removeApplicationAnnotations(int index)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
Parameter |
Name |
Description |
index |
int
|
removeNodeAnnotations(int index)
public ResourceAnnotations.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.cloud.visionai.v1.ApplicationNodeAnnotation node_annotations = 2;
Parameter |
Name |
Description |
index |
int
|
setApplicationAnnotations(int index, StreamAnnotation value)
public ResourceAnnotations.Builder setApplicationAnnotations(int index, StreamAnnotation value)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder setApplicationAnnotations(int index, StreamAnnotation.Builder builderForValue)
Annotations that will be applied to the whole application.
repeated .google.cloud.visionai.v1.StreamAnnotation application_annotations = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceAnnotations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNodeAnnotations(int index, ApplicationNodeAnnotation value)
public ResourceAnnotations.Builder setNodeAnnotations(int index, ApplicationNodeAnnotation 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.ApplicationNodeAnnotation node_annotations = 2;
setNodeAnnotations(int index, ApplicationNodeAnnotation.Builder builderForValue)
public ResourceAnnotations.Builder setNodeAnnotations(int index, ApplicationNodeAnnotation.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.ApplicationNodeAnnotation node_annotations = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceAnnotations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceAnnotations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides