Class ExampleStore.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExampleStore.Builder>
com.google.cloud.aiplatform.v1beta1.ExampleStore.Builder
All Implemented Interfaces:
ExampleStoreOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExampleStore

public static final class ExampleStore.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExampleStore.Builder> implements ExampleStoreOrBuilder
 Represents an executable service to manage and retrieve examples.
 
Protobuf type google.cloud.aiplatform.v1beta1.ExampleStore
  • 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.Builder<ExampleStore.Builder>
    • clear

      public ExampleStore.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExampleStore.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExampleStore.Builder>
    • getDefaultInstanceForType

      public ExampleStore getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExampleStore build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExampleStore buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExampleStore.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExampleStore.Builder>
    • mergeFrom

      public ExampleStore.Builder mergeFrom(ExampleStore other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExampleStore.Builder>
    • mergeFrom

      public ExampleStore.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExampleStore.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The resource name of the ExampleStore. This is a unique
       identifier. Format:
       projects/{project}/locations/{location}/exampleStores/{example_store}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ExampleStoreOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the ExampleStore. This is a unique
       identifier. Format:
       projects/{project}/locations/{location}/exampleStores/{example_store}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ExampleStoreOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExampleStore.Builder setName(String value)
       Identifier. The resource name of the ExampleStore. This is a unique
       identifier. Format:
       projects/{project}/locations/{location}/exampleStores/{example_store}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ExampleStore.Builder clearName()
       Identifier. The resource name of the ExampleStore. This is a unique
       identifier. Format:
       projects/{project}/locations/{location}/exampleStores/{example_store}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExampleStore.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the ExampleStore. This is a unique
       identifier. Format:
       projects/{project}/locations/{location}/exampleStores/{example_store}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. Display name of the ExampleStore.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ExampleStoreOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Display name of the ExampleStore.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface ExampleStoreOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ExampleStore.Builder setDisplayName(String value)
       Required. Display name of the ExampleStore.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ExampleStore.Builder clearDisplayName()
       Required. Display name of the ExampleStore.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ExampleStore.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Display name of the ExampleStore.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the ExampleStore.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ExampleStoreOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the ExampleStore.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface ExampleStoreOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ExampleStore.Builder setDescription(String value)
       Optional. Description of the ExampleStore.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ExampleStore.Builder clearDescription()
       Optional. Description of the ExampleStore.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ExampleStore.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the ExampleStore.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ExampleStoreOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ExampleStoreOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ExampleStore.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ExampleStore.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ExampleStore.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ExampleStore.Builder clearCreateTime()
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this ExampleStore was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ExampleStoreOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ExampleStoreOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ExampleStoreOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ExampleStore.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ExampleStore.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ExampleStore.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ExampleStore.Builder clearUpdateTime()
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this ExampleStore was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ExampleStoreOrBuilder
    • hasExampleStoreConfig

      public boolean hasExampleStoreConfig()
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasExampleStoreConfig in interface ExampleStoreOrBuilder
      Returns:
      Whether the exampleStoreConfig field is set.
    • getExampleStoreConfig

      public ExampleStoreConfig getExampleStoreConfig()
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExampleStoreConfig in interface ExampleStoreOrBuilder
      Returns:
      The exampleStoreConfig.
    • setExampleStoreConfig

      public ExampleStore.Builder setExampleStoreConfig(ExampleStoreConfig value)
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
    • setExampleStoreConfig

      public ExampleStore.Builder setExampleStoreConfig(ExampleStoreConfig.Builder builderForValue)
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
    • mergeExampleStoreConfig

      public ExampleStore.Builder mergeExampleStoreConfig(ExampleStoreConfig value)
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
    • clearExampleStoreConfig

      public ExampleStore.Builder clearExampleStoreConfig()
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
    • getExampleStoreConfigBuilder

      public ExampleStoreConfig.Builder getExampleStoreConfigBuilder()
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
    • getExampleStoreConfigOrBuilder

      public ExampleStoreConfigOrBuilder getExampleStoreConfigOrBuilder()
       Required. Example Store config.
       
      .google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExampleStoreConfigOrBuilder in interface ExampleStoreOrBuilder