Class IngestAssetRequest

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

@Generated public final class IngestAssetRequest extends com.google.protobuf.GeneratedMessage implements IngestAssetRequestOrBuilder
 Request message for IngestAsset API.
 
Protobuf type google.cloud.visionai.v1.IngestAssetRequest
See Also:
  • Field Details

    • CONFIG_FIELD_NUMBER

      public static final int CONFIG_FIELD_NUMBER
      See Also:
    • TIME_INDEXED_DATA_FIELD_NUMBER

      public static final int TIME_INDEXED_DATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

      public IngestAssetRequest.StreamingRequestCase getStreamingRequestCase()
      Specified by:
      getStreamingRequestCase in interface IngestAssetRequestOrBuilder
    • hasConfig

      public boolean hasConfig()
       Provides information for the data and the asset resource name that the
       data belongs to. The first `IngestAssetRequest` message must only contain
       a `Config` message.
       
      .google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;
      Specified by:
      hasConfig in interface IngestAssetRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public IngestAssetRequest.Config getConfig()
       Provides information for the data and the asset resource name that the
       data belongs to. The first `IngestAssetRequest` message must only contain
       a `Config` message.
       
      .google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;
      Specified by:
      getConfig in interface IngestAssetRequestOrBuilder
      Returns:
      The config.
    • getConfigOrBuilder

      public IngestAssetRequest.ConfigOrBuilder getConfigOrBuilder()
       Provides information for the data and the asset resource name that the
       data belongs to. The first `IngestAssetRequest` message must only contain
       a `Config` message.
       
      .google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;
      Specified by:
      getConfigOrBuilder in interface IngestAssetRequestOrBuilder
    • hasTimeIndexedData

      public boolean hasTimeIndexedData()
       Data to be ingested.
       
      .google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;
      Specified by:
      hasTimeIndexedData in interface IngestAssetRequestOrBuilder
      Returns:
      Whether the timeIndexedData field is set.
    • getTimeIndexedData

      public IngestAssetRequest.TimeIndexedData getTimeIndexedData()
       Data to be ingested.
       
      .google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;
      Specified by:
      getTimeIndexedData in interface IngestAssetRequestOrBuilder
      Returns:
      The timeIndexedData.
    • getTimeIndexedDataOrBuilder

      public IngestAssetRequest.TimeIndexedDataOrBuilder getTimeIndexedDataOrBuilder()
       Data to be ingested.
       
      .google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;
      Specified by:
      getTimeIndexedDataOrBuilder in interface IngestAssetRequestOrBuilder
    • 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 IngestAssetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static IngestAssetRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static IngestAssetRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<IngestAssetRequest> 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 IngestAssetRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder