Class FunctionDeclaration.Builder

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

public static final class FunctionDeclaration.Builder extends com.google.protobuf.GeneratedMessage.Builder<FunctionDeclaration.Builder> implements FunctionDeclarationOrBuilder
 Structured representation of a function declaration as defined by the
 [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included
 in this declaration are the function name, description, parameters and
 response type. This FunctionDeclaration is a representation of a block of
 code that can be used as a `Tool` by the model and executed by the client.
 
Protobuf type google.cloud.aiplatform.v1.FunctionDeclaration
  • 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<FunctionDeclaration.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<FunctionDeclaration.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<FunctionDeclaration.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      public String getName()
       Required. The name of the function to call.
       Must start with a letter or an underscore.
       Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
       maximum length of 64.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface FunctionDeclarationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the function to call.
       Must start with a letter or an underscore.
       Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
       maximum length of 64.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface FunctionDeclarationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FunctionDeclaration.Builder setName(String value)
       Required. The name of the function to call.
       Must start with a letter or an underscore.
       Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
       maximum length of 64.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FunctionDeclaration.Builder clearName()
       Required. The name of the function to call.
       Must start with a letter or an underscore.
       Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
       maximum length of 64.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public FunctionDeclaration.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the function to call.
       Must start with a letter or an underscore.
       Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a
       maximum length of 64.
       
      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()
       Optional. Description and purpose of the function.
       Model uses it to decide how and whether to call the function.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface FunctionDeclarationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description and purpose of the function.
       Model uses it to decide how and whether to call the function.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface FunctionDeclarationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public FunctionDeclaration.Builder setDescription(String value)
       Optional. Description and purpose of the function.
       Model uses it to decide how and whether to call the function.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public FunctionDeclaration.Builder clearDescription()
       Optional. Description and purpose of the function.
       Model uses it to decide how and whether to call the function.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public FunctionDeclaration.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description and purpose of the function.
       Model uses it to decide how and whether to call the function.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasParameters

      public boolean hasParameters()
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasParameters in interface FunctionDeclarationOrBuilder
      Returns:
      Whether the parameters field is set.
    • getParameters

      public Schema getParameters()
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameters in interface FunctionDeclarationOrBuilder
      Returns:
      The parameters.
    • setParameters

      public FunctionDeclaration.Builder setParameters(Schema value)
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setParameters

      public FunctionDeclaration.Builder setParameters(Schema.Builder builderForValue)
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeParameters

      public FunctionDeclaration.Builder mergeParameters(Schema value)
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearParameters

      public FunctionDeclaration.Builder clearParameters()
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersBuilder

      public Schema.Builder getParametersBuilder()
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersOrBuilder

      public SchemaOrBuilder getParametersOrBuilder()
       Optional. Describes the parameters to this function in JSON Schema Object
       format. Reflects the Open API 3.03 Parameter Object. string Key: the name
       of the parameter. Parameter names are case sensitive. Schema Value: the
       Schema defining the type used for the parameter. For function with no
       parameters, this can be left unset. Parameter names must start with a
       letter or an underscore and must only contain chars a-z, A-Z, 0-9, or
       underscores with a maximum length of 64. Example with 1 required and 1
       optional parameter: type: OBJECT properties:
       param1:
       type: STRING
       param2:
       type: INTEGER
       required:
       - param1
       
      .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrBuilder in interface FunctionDeclarationOrBuilder
    • hasParametersJsonSchema

      public boolean hasParametersJsonSchema()
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasParametersJsonSchema in interface FunctionDeclarationOrBuilder
      Returns:
      Whether the parametersJsonSchema field is set.
    • getParametersJsonSchema

      public com.google.protobuf.Value getParametersJsonSchema()
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersJsonSchema in interface FunctionDeclarationOrBuilder
      Returns:
      The parametersJsonSchema.
    • setParametersJsonSchema

      public FunctionDeclaration.Builder setParametersJsonSchema(com.google.protobuf.Value value)
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setParametersJsonSchema

      public FunctionDeclaration.Builder setParametersJsonSchema(com.google.protobuf.Value.Builder builderForValue)
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeParametersJsonSchema

      public FunctionDeclaration.Builder mergeParametersJsonSchema(com.google.protobuf.Value value)
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearParametersJsonSchema

      public FunctionDeclaration.Builder clearParametersJsonSchema()
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersJsonSchemaBuilder

      public com.google.protobuf.Value.Builder getParametersJsonSchemaBuilder()
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersJsonSchemaOrBuilder

      public com.google.protobuf.ValueOrBuilder getParametersJsonSchemaOrBuilder()
       Optional. Describes the parameters to the function in JSON Schema format.
       The schema must describe an object where the properties are the parameters
       to the function. For example:
      
       ```
       {
       "type": "object",
       "properties": {
       "name": { "type": "string" },
       "age": { "type": "integer" }
       },
       "additionalProperties": false,
       "required": ["name", "age"],
       "propertyOrdering": ["name", "age"]
       }
       ```
      
       This field is mutually exclusive with `parameters`.
       
      .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersJsonSchemaOrBuilder in interface FunctionDeclarationOrBuilder
    • hasResponse

      public boolean hasResponse()
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResponse in interface FunctionDeclarationOrBuilder
      Returns:
      Whether the response field is set.
    • getResponse

      public Schema getResponse()
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponse in interface FunctionDeclarationOrBuilder
      Returns:
      The response.
    • setResponse

      public FunctionDeclaration.Builder setResponse(Schema value)
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setResponse

      public FunctionDeclaration.Builder setResponse(Schema.Builder builderForValue)
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeResponse

      public FunctionDeclaration.Builder mergeResponse(Schema value)
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearResponse

      public FunctionDeclaration.Builder clearResponse()
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getResponseBuilder

      public Schema.Builder getResponseBuilder()
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getResponseOrBuilder

      public SchemaOrBuilder getResponseOrBuilder()
       Optional. Describes the output from this function in JSON Schema format.
       Reflects the Open API 3.03 Response Object. The Schema defines the type
       used for the response value of the function.
       
      .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponseOrBuilder in interface FunctionDeclarationOrBuilder
    • hasResponseJsonSchema

      public boolean hasResponseJsonSchema()
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResponseJsonSchema in interface FunctionDeclarationOrBuilder
      Returns:
      Whether the responseJsonSchema field is set.
    • getResponseJsonSchema

      public com.google.protobuf.Value getResponseJsonSchema()
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponseJsonSchema in interface FunctionDeclarationOrBuilder
      Returns:
      The responseJsonSchema.
    • setResponseJsonSchema

      public FunctionDeclaration.Builder setResponseJsonSchema(com.google.protobuf.Value value)
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setResponseJsonSchema

      public FunctionDeclaration.Builder setResponseJsonSchema(com.google.protobuf.Value.Builder builderForValue)
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeResponseJsonSchema

      public FunctionDeclaration.Builder mergeResponseJsonSchema(com.google.protobuf.Value value)
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearResponseJsonSchema

      public FunctionDeclaration.Builder clearResponseJsonSchema()
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getResponseJsonSchemaBuilder

      public com.google.protobuf.Value.Builder getResponseJsonSchemaBuilder()
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getResponseJsonSchemaOrBuilder

      public com.google.protobuf.ValueOrBuilder getResponseJsonSchemaOrBuilder()
       Optional. Describes the output from this function in JSON Schema format.
       The value specified by the schema is the response value of the function.
      
       This field is mutually exclusive with `response`.
       
      .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponseJsonSchemaOrBuilder in interface FunctionDeclarationOrBuilder