Class Analysis

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.Analysis
All Implemented Interfaces:
AnalysisOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Analysis extends com.google.protobuf.GeneratedMessage implements AnalysisOrBuilder
 Message describing the Analysis object.
 
Protobuf type google.cloud.visionai.v1.Analysis
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ANALYSIS_DEFINITION_FIELD_NUMBER

      public static final int ANALYSIS_DEFINITION_FIELD_NUMBER
      See Also:
    • INPUT_STREAMS_MAPPING_FIELD_NUMBER

      public static final int INPUT_STREAMS_MAPPING_FIELD_NUMBER
      See Also:
    • OUTPUT_STREAMS_MAPPING_FIELD_NUMBER

      public static final int OUTPUT_STREAMS_MAPPING_FIELD_NUMBER
      See Also:
    • DISABLE_EVENT_WATCH_FIELD_NUMBER

      public static final int DISABLE_EVENT_WATCH_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The name of resource.
       
      string name = 1;
      Specified by:
      getName in interface AnalysisOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of resource.
       
      string name = 1;
      Specified by:
      getNameBytes in interface AnalysisOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AnalysisOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface AnalysisOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface AnalysisOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface AnalysisOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface AnalysisOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface AnalysisOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: AnalysisOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface AnalysisOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface AnalysisOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface AnalysisOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface AnalysisOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface AnalysisOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface AnalysisOrBuilder
    • hasAnalysisDefinition

      public boolean hasAnalysisDefinition()
       The definition of the analysis.
       
      .google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;
      Specified by:
      hasAnalysisDefinition in interface AnalysisOrBuilder
      Returns:
      Whether the analysisDefinition field is set.
    • getAnalysisDefinition

      public AnalysisDefinition getAnalysisDefinition()
       The definition of the analysis.
       
      .google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;
      Specified by:
      getAnalysisDefinition in interface AnalysisOrBuilder
      Returns:
      The analysisDefinition.
    • getAnalysisDefinitionOrBuilder

      public AnalysisDefinitionOrBuilder getAnalysisDefinitionOrBuilder()
       The definition of the analysis.
       
      .google.cloud.visionai.v1.AnalysisDefinition analysis_definition = 5;
      Specified by:
      getAnalysisDefinitionOrBuilder in interface AnalysisOrBuilder
    • getInputStreamsMappingCount

      public int getInputStreamsMappingCount()
      Description copied from interface: AnalysisOrBuilder
       Map from the input parameter in the definition to the real stream.
       E.g., suppose you had a stream source operator named "input-0" and you try
       to receive from the real stream "stream-0". You can add the following
       mapping: [input-0: stream-0].
       
      map<string, string> input_streams_mapping = 6;
      Specified by:
      getInputStreamsMappingCount in interface AnalysisOrBuilder
    • containsInputStreamsMapping

      public boolean containsInputStreamsMapping(String key)
       Map from the input parameter in the definition to the real stream.
       E.g., suppose you had a stream source operator named "input-0" and you try
       to receive from the real stream "stream-0". You can add the following
       mapping: [input-0: stream-0].
       
      map<string, string> input_streams_mapping = 6;
      Specified by:
      containsInputStreamsMapping in interface AnalysisOrBuilder
    • getInputStreamsMapping

      @Deprecated public Map<String,String> getInputStreamsMapping()
      Deprecated.
      Specified by:
      getInputStreamsMapping in interface AnalysisOrBuilder
    • getInputStreamsMappingMap

      public Map<String,String> getInputStreamsMappingMap()
       Map from the input parameter in the definition to the real stream.
       E.g., suppose you had a stream source operator named "input-0" and you try
       to receive from the real stream "stream-0". You can add the following
       mapping: [input-0: stream-0].
       
      map<string, string> input_streams_mapping = 6;
      Specified by:
      getInputStreamsMappingMap in interface AnalysisOrBuilder
    • getInputStreamsMappingOrDefault

      public String getInputStreamsMappingOrDefault(String key, String defaultValue)
       Map from the input parameter in the definition to the real stream.
       E.g., suppose you had a stream source operator named "input-0" and you try
       to receive from the real stream "stream-0". You can add the following
       mapping: [input-0: stream-0].
       
      map<string, string> input_streams_mapping = 6;
      Specified by:
      getInputStreamsMappingOrDefault in interface AnalysisOrBuilder
    • getInputStreamsMappingOrThrow

      public String getInputStreamsMappingOrThrow(String key)
       Map from the input parameter in the definition to the real stream.
       E.g., suppose you had a stream source operator named "input-0" and you try
       to receive from the real stream "stream-0". You can add the following
       mapping: [input-0: stream-0].
       
      map<string, string> input_streams_mapping = 6;
      Specified by:
      getInputStreamsMappingOrThrow in interface AnalysisOrBuilder
    • getOutputStreamsMappingCount

      public int getOutputStreamsMappingCount()
      Description copied from interface: AnalysisOrBuilder
       Map from the output parameter in the definition to the real stream.
       E.g., suppose you had a stream sink operator named "output-0" and you try
       to send to the real stream "stream-0". You can add the following
       mapping: [output-0: stream-0].
       
      map<string, string> output_streams_mapping = 7;
      Specified by:
      getOutputStreamsMappingCount in interface AnalysisOrBuilder
    • containsOutputStreamsMapping

      public boolean containsOutputStreamsMapping(String key)
       Map from the output parameter in the definition to the real stream.
       E.g., suppose you had a stream sink operator named "output-0" and you try
       to send to the real stream "stream-0". You can add the following
       mapping: [output-0: stream-0].
       
      map<string, string> output_streams_mapping = 7;
      Specified by:
      containsOutputStreamsMapping in interface AnalysisOrBuilder
    • getOutputStreamsMapping

      @Deprecated public Map<String,String> getOutputStreamsMapping()
      Deprecated.
      Specified by:
      getOutputStreamsMapping in interface AnalysisOrBuilder
    • getOutputStreamsMappingMap

      public Map<String,String> getOutputStreamsMappingMap()
       Map from the output parameter in the definition to the real stream.
       E.g., suppose you had a stream sink operator named "output-0" and you try
       to send to the real stream "stream-0". You can add the following
       mapping: [output-0: stream-0].
       
      map<string, string> output_streams_mapping = 7;
      Specified by:
      getOutputStreamsMappingMap in interface AnalysisOrBuilder
    • getOutputStreamsMappingOrDefault

      public String getOutputStreamsMappingOrDefault(String key, String defaultValue)
       Map from the output parameter in the definition to the real stream.
       E.g., suppose you had a stream sink operator named "output-0" and you try
       to send to the real stream "stream-0". You can add the following
       mapping: [output-0: stream-0].
       
      map<string, string> output_streams_mapping = 7;
      Specified by:
      getOutputStreamsMappingOrDefault in interface AnalysisOrBuilder
    • getOutputStreamsMappingOrThrow

      public String getOutputStreamsMappingOrThrow(String key)
       Map from the output parameter in the definition to the real stream.
       E.g., suppose you had a stream sink operator named "output-0" and you try
       to send to the real stream "stream-0". You can add the following
       mapping: [output-0: stream-0].
       
      map<string, string> output_streams_mapping = 7;
      Specified by:
      getOutputStreamsMappingOrThrow in interface AnalysisOrBuilder
    • getDisableEventWatch

      public boolean getDisableEventWatch()
       Boolean flag to indicate whether you would like to disable the ability
       to automatically start a Process when new event happening in the input
       Stream. If you would like to start a Process manually, the field needs
       to be set to true.
       
      bool disable_event_watch = 8;
      Specified by:
      getDisableEventWatch in interface AnalysisOrBuilder
      Returns:
      The disableEventWatch.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Analysis parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Analysis parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Analysis parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Analysis parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Analysis parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Analysis parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Analysis parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Analysis.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Analysis.Builder newBuilder()
    • newBuilder

      public static Analysis.Builder newBuilder(Analysis prototype)
    • toBuilder

      public Analysis.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Analysis.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Analysis getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Analysis> parser()
    • getParserForType

      public com.google.protobuf.Parser<Analysis> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Analysis getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder