Class ExtensionManifest.ApiSpec.Builder (3.56.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.56.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ExtensionManifest . ApiSpec . Builder   extends   GeneratedMessageV3 . Builder<ExtensionManifest . ApiSpec . Builder >  implements   ExtensionManifest . ApiSpecOrBuilder  
   The API specification shown to the LLM.
 Protobuf type google.cloud.aiplatform.v1beta1.ExtensionManifest.ApiSpec
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   ExtensionManifest . ApiSpec . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec   build ()  
  
  
    
public   ExtensionManifest . ApiSpec   buildPartial ()  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   clear ()  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   clearApiSpec ()  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   clearOpenApiGcsUri ()  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
public   ExtensionManifest . ApiSpec . Builder   clearOpenApiYaml ()  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
public   ExtensionManifest . ApiSpec . Builder   clone ()  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . ApiSpecCase   getApiSpecCase ()  
  
  
    
public   ExtensionManifest . ApiSpec   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   String   getOpenApiGcsUri ()  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
      
        Returns  
      
        Type Description  
      
        String The openApiGcsUri.
 
     
  
  
    
public   ByteString   getOpenApiGcsUriBytes ()  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for openApiGcsUri.
 
     
  
  
    
public   String   getOpenApiYaml ()  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
      
        Returns  
      
        Type Description  
      
        String The openApiYaml.
 
     
  
  
    
public   ByteString   getOpenApiYamlBytes ()  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for openApiYaml.
 
     
  
  
    
public   boolean   hasOpenApiGcsUri ()  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the openApiGcsUri field is set.
 
     
  
  
    
public   boolean   hasOpenApiYaml ()  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the openApiYaml field is set.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   mergeFrom ( ExtensionManifest . ApiSpec   other )  
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   ExtensionManifest . ApiSpec . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setOpenApiGcsUri ( String   value )  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The openApiGcsUri to set.
 
     
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setOpenApiGcsUriBytes ( ByteString   value )  
   Cloud Storage URI pointing to the OpenAPI spec.
 string open_api_gcs_uri = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for openApiGcsUri to set.
 
     
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setOpenApiYaml ( String   value )  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The openApiYaml to set.
 
     
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setOpenApiYamlBytes ( ByteString   value )  
   The API spec in Open API standard and YAML format.
 string open_api_yaml = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for openApiYaml to set.
 
     
  
  
  
    
public   ExtensionManifest . ApiSpec . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   ExtensionManifest . ApiSpec . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]