public final class ResourceAnnotations extends GeneratedMessageV3 implements ResourceAnnotationsOrBuilder
Message describing general annotation for resources.
Protobuf type google.cloud.visionai.v1.ResourceAnnotations
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
APPLICATION_ANNOTATIONS_FIELD_NUMBER
public static final int APPLICATION_ANNOTATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NODE_ANNOTATIONS_FIELD_NUMBER
public static final int NODE_ANNOTATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ResourceAnnotations getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceAnnotations.Builder newBuilder()
newBuilder(ResourceAnnotations prototype)
public static ResourceAnnotations.Builder newBuilder(ResourceAnnotations prototype)
public static ResourceAnnotations parseDelimitedFrom(InputStream input)
public static ResourceAnnotations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceAnnotations parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceAnnotations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceAnnotations parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceAnnotations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceAnnotations parseFrom(CodedInputStream input)
public static ResourceAnnotations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceAnnotations parseFrom(InputStream input)
public static ResourceAnnotations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceAnnotations parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceAnnotations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceAnnotations> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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()
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
|
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> |
|
getParserForType()
public Parser<ResourceAnnotations> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceAnnotations.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceAnnotations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ResourceAnnotations.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides