Interfaccia FunctionResponseOrBuilder (1.3.0)

public interface FunctionResponseOrBuilder extends MessageOrBuilder

Implementa

MessageOrBuilder

Metodi

getName()

public abstract String getName()

Obbligatorio. Il nome della funzione da chiamare. Corrisponde a [FunctionDeclaration.name] e [FunctionCall.name].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Restituisce
Tipo Description
String

Il nome.

getNameBytes()

public abstract ByteString getNameBytes()

Obbligatorio. Il nome della funzione da chiamare. Corrisponde a [FunctionDeclaration.name] e [FunctionCall.name].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Restituisce
Tipo Description
ByteString

I byte per il nome.

getResponse()

public abstract Struct getResponse()

Obbligatorio. La risposta della funzione in formato di oggetto JSON.

.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];

Restituisce
Tipo Description
Struct

La risposta.

getResponseOrBuilder()

public abstract StructOrBuilder getResponseOrBuilder()

Obbligatorio. La risposta della funzione in formato di oggetto JSON.

.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];

Restituisce
Tipo Description
StructOrBuilder

hasResponse()

public abstract boolean hasResponse()

Obbligatorio. La risposta della funzione in formato di oggetto JSON.

.google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED];

Restituisce
Tipo Description
boolean

Indica se il campo della risposta è impostato.