Class ReasoningEngine.Builder

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

public static final class ReasoningEngine.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReasoningEngine.Builder> implements ReasoningEngineOrBuilder
 ReasoningEngine provides a customizable runtime for models to determine
 which actions to take and in which order.
 
Protobuf type google.cloud.aiplatform.v1.ReasoningEngine
  • 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.Builder<ReasoningEngine.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngine.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngine.Builder>
    • clear

      public ReasoningEngine.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<ReasoningEngine.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<ReasoningEngine.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReasoningEngine.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<ReasoningEngine.Builder>
    • mergeFrom

      public ReasoningEngine.Builder mergeFrom(ReasoningEngine other)
    • isInitialized

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

      public ReasoningEngine.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<ReasoningEngine.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The resource name of the ReasoningEngine.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ReasoningEngineOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the ReasoningEngine.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ReasoningEngineOrBuilder
      Returns:
      The bytes for name.
    • setName

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

      public ReasoningEngine.Builder clearName()
       Identifier. The resource name of the ReasoningEngine.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ReasoningEngine.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name of the ReasoningEngine.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      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. The display name of the ReasoningEngine.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ReasoningEngineOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

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

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

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

      public ReasoningEngine.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the ReasoningEngine.
       
      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. The description of the ReasoningEngine.
       
      string description = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface ReasoningEngineOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

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

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

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

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

      public boolean hasSpec()
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSpec in interface ReasoningEngineOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public ReasoningEngineSpec getSpec()
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpec in interface ReasoningEngineOrBuilder
      Returns:
      The spec.
    • setSpec

       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setSpec

      public ReasoningEngine.Builder setSpec(ReasoningEngineSpec.Builder builderForValue)
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSpec

      public ReasoningEngine.Builder mergeSpec(ReasoningEngineSpec value)
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearSpec

      public ReasoningEngine.Builder clearSpec()
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSpecBuilder

      public ReasoningEngineSpec.Builder getSpecBuilder()
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSpecOrBuilder

      public ReasoningEngineSpecOrBuilder getSpecOrBuilder()
       Optional. Configurations of the ReasoningEngine
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpecOrBuilder in interface ReasoningEngineOrBuilder
    • hasCreateTime

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

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

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

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

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

      public ReasoningEngine.Builder clearCreateTime()
       Output only. Timestamp when this ReasoningEngine 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 ReasoningEngine 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 ReasoningEngine was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ReasoningEngineOrBuilder
    • hasUpdateTime

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

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

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

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

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

      public ReasoningEngine.Builder clearUpdateTime()
       Output only. Timestamp when this ReasoningEngine 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 ReasoningEngine 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 ReasoningEngine was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ReasoningEngineOrBuilder
    • getEtag

      public String getEtag()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface ReasoningEngineOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface ReasoningEngineOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public ReasoningEngine.Builder setEtag(String value)
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public ReasoningEngine.Builder clearEtag()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public ReasoningEngine.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
      Specified by:
      hasEncryptionSpec in interface ReasoningEngineOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
      Specified by:
      getEncryptionSpec in interface ReasoningEngineOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public ReasoningEngine.Builder setEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
    • setEncryptionSpec

      public ReasoningEngine.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
    • mergeEncryptionSpec

      public ReasoningEngine.Builder mergeEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
    • clearEncryptionSpec

      public ReasoningEngine.Builder clearEncryptionSpec()
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Customer-managed encryption key spec for a ReasoningEngine. If set, this
       ReasoningEngine and all sub-resources of this ReasoningEngine will be
       secured by this key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
      Specified by:
      getEncryptionSpecOrBuilder in interface ReasoningEngineOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ReasoningEngineOrBuilder
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
      Specified by:
      getLabelsCount in interface ReasoningEngineOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
      Specified by:
      containsLabels in interface ReasoningEngineOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
      Specified by:
      getLabelsMap in interface ReasoningEngineOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
      Specified by:
      getLabelsOrDefault in interface ReasoningEngineOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
      Specified by:
      getLabelsOrThrow in interface ReasoningEngineOrBuilder
    • clearLabels

      public ReasoningEngine.Builder clearLabels()
    • removeLabels

      public ReasoningEngine.Builder removeLabels(String key)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public ReasoningEngine.Builder putLabels(String key, String value)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;
    • putAllLabels

      public ReasoningEngine.Builder putAllLabels(Map<String,String> values)
       Labels for the ReasoningEngine.
       
      map<string, string> labels = 17;