Class UpsertExamplesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.UpsertExamplesRequest
All Implemented Interfaces:
UpsertExamplesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpsertExamplesRequest extends com.google.protobuf.GeneratedMessage implements UpsertExamplesRequestOrBuilder
 Request message for
 [ExampleStoreService.UpsertExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.UpsertExamples].
 
Protobuf type google.cloud.aiplatform.v1beta1.UpsertExamplesRequest
See Also:
  • Field Details

    • EXAMPLE_STORE_FIELD_NUMBER

      public static final int EXAMPLE_STORE_FIELD_NUMBER
      See Also:
    • EXAMPLES_FIELD_NUMBER

      public static final int EXAMPLES_FIELD_NUMBER
      See Also:
    • OVERWRITE_FIELD_NUMBER

      public static final int OVERWRITE_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
    • getExampleStore

      public String getExampleStore()
       Required. The name of the ExampleStore resource that examples are added to
       or updated in. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getExampleStore in interface UpsertExamplesRequestOrBuilder
      Returns:
      The exampleStore.
    • getExampleStoreBytes

      public com.google.protobuf.ByteString getExampleStoreBytes()
       Required. The name of the ExampleStore resource that examples are added to
       or updated in. Format:
       `projects/{project}/locations/{location}/exampleStores/{example_store}`
       
      string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getExampleStoreBytes in interface UpsertExamplesRequestOrBuilder
      Returns:
      The bytes for exampleStore.
    • getExamplesList

      public List<Example> getExamplesList()
       Required. A list of examples to be created/updated.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExamplesList in interface UpsertExamplesRequestOrBuilder
    • getExamplesOrBuilderList

      public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()
       Required. A list of examples to be created/updated.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExamplesOrBuilderList in interface UpsertExamplesRequestOrBuilder
    • getExamplesCount

      public int getExamplesCount()
       Required. A list of examples to be created/updated.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExamplesCount in interface UpsertExamplesRequestOrBuilder
    • getExamples

      public Example getExamples(int index)
       Required. A list of examples to be created/updated.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExamples in interface UpsertExamplesRequestOrBuilder
    • getExamplesOrBuilder

      public ExampleOrBuilder getExamplesOrBuilder(int index)
       Required. A list of examples to be created/updated.
       
      repeated .google.cloud.aiplatform.v1beta1.Example examples = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExamplesOrBuilder in interface UpsertExamplesRequestOrBuilder
    • getOverwrite

      public boolean getOverwrite()
       Optional. A flag indicating whether an example can be overwritten if it
       already exists. If False (default) and the example already exists, the
       example will not be updated. This does not affect behavior if the example
       does not exist already.
       
      bool overwrite = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOverwrite in interface UpsertExamplesRequestOrBuilder
      Returns:
      The overwrite.
    • 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 UpsertExamplesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpsertExamplesRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpsertExamplesRequest getDefaultInstance()
    • parser

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

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