Class ExtensionManifest.Builder

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

public static final class ExtensionManifest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExtensionManifest.Builder> implements ExtensionManifestOrBuilder
 Manifest spec of an Extension needed for runtime execution.
 
Protobuf type google.cloud.aiplatform.v1beta1.ExtensionManifest
  • 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<ExtensionManifest.Builder>
    • clear

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

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

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

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

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

      public ExtensionManifest.Builder mergeFrom(ExtensionManifest other)
    • isInitialized

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

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

      public String getName()
       Required. Extension name shown to the LLM.
       The name can be up to 128 characters long.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface ExtensionManifestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Extension name shown to the LLM.
       The name can be up to 128 characters long.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface ExtensionManifestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExtensionManifest.Builder setName(String value)
       Required. Extension name shown to the LLM.
       The name can be up to 128 characters long.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ExtensionManifest.Builder clearName()
       Required. Extension name shown to the LLM.
       The name can be up to 128 characters long.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExtensionManifest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Extension name shown to the LLM.
       The name can be up to 128 characters long.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Required. The natural language description shown to the LLM.
       It should describe the usage of the extension, and is essential for the LLM
       to perform reasoning. e.g., if the extension is a data store, you can let
       the LLM know what data it contains.
       
      string description = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescription in interface ExtensionManifestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Required. The natural language description shown to the LLM.
       It should describe the usage of the extension, and is essential for the LLM
       to perform reasoning. e.g., if the extension is a data store, you can let
       the LLM know what data it contains.
       
      string description = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescriptionBytes in interface ExtensionManifestOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ExtensionManifest.Builder setDescription(String value)
       Required. The natural language description shown to the LLM.
       It should describe the usage of the extension, and is essential for the LLM
       to perform reasoning. e.g., if the extension is a data store, you can let
       the LLM know what data it contains.
       
      string description = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ExtensionManifest.Builder clearDescription()
       Required. The natural language description shown to the LLM.
       It should describe the usage of the extension, and is essential for the LLM
       to perform reasoning. e.g., if the extension is a data store, you can let
       the LLM know what data it contains.
       
      string description = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ExtensionManifest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Required. The natural language description shown to the LLM.
       It should describe the usage of the extension, and is essential for the LLM
       to perform reasoning. e.g., if the extension is a data store, you can let
       the LLM know what data it contains.
       
      string description = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasApiSpec

      public boolean hasApiSpec()
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasApiSpec in interface ExtensionManifestOrBuilder
      Returns:
      Whether the apiSpec field is set.
    • getApiSpec

      public ExtensionManifest.ApiSpec getApiSpec()
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiSpec in interface ExtensionManifestOrBuilder
      Returns:
      The apiSpec.
    • setApiSpec

       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • setApiSpec

      public ExtensionManifest.Builder setApiSpec(ExtensionManifest.ApiSpec.Builder builderForValue)
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • mergeApiSpec

       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • clearApiSpec

      public ExtensionManifest.Builder clearApiSpec()
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • getApiSpecBuilder

      public ExtensionManifest.ApiSpec.Builder getApiSpecBuilder()
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • getApiSpecOrBuilder

      public ExtensionManifest.ApiSpecOrBuilder getApiSpecOrBuilder()
       Required. Immutable. The API specification shown to the LLM.
       
      .google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec api_spec = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiSpecOrBuilder in interface ExtensionManifestOrBuilder
    • hasAuthConfig

      public boolean hasAuthConfig()
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAuthConfig in interface ExtensionManifestOrBuilder
      Returns:
      Whether the authConfig field is set.
    • getAuthConfig

      public AuthConfig getAuthConfig()
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthConfig in interface ExtensionManifestOrBuilder
      Returns:
      The authConfig.
    • setAuthConfig

      public ExtensionManifest.Builder setAuthConfig(AuthConfig value)
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • setAuthConfig

      public ExtensionManifest.Builder setAuthConfig(AuthConfig.Builder builderForValue)
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • mergeAuthConfig

      public ExtensionManifest.Builder mergeAuthConfig(AuthConfig value)
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • clearAuthConfig

      public ExtensionManifest.Builder clearAuthConfig()
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • getAuthConfigBuilder

      public AuthConfig.Builder getAuthConfigBuilder()
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
    • getAuthConfigOrBuilder

      public AuthConfigOrBuilder getAuthConfigOrBuilder()
       Required. Immutable. Type of auth supported by this extension.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig auth_config = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthConfigOrBuilder in interface ExtensionManifestOrBuilder