- 3.82.0 (latest)
- 3.81.0
- 3.79.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class FunctionCall.Builder extends GeneratedMessageV3.Builder<FunctionCall.Builder> implements FunctionCallOrBuilderA predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.
Protobuf type google.cloud.aiplatform.v1.FunctionCall
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FunctionCall.BuilderImplements
FunctionCallOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPartialArgs(Iterable<? extends PartialArg> values)
public FunctionCall.Builder addAllPartialArgs(Iterable<? extends PartialArg> values)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.PartialArg> |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
addPartialArgs(PartialArg value)
public FunctionCall.Builder addPartialArgs(PartialArg value)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PartialArg |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
addPartialArgs(PartialArg.Builder builderForValue)
public FunctionCall.Builder addPartialArgs(PartialArg.Builder builderForValue)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PartialArg.Builder |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
addPartialArgs(int index, PartialArg value)
public FunctionCall.Builder addPartialArgs(int index, PartialArg value)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PartialArg |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
addPartialArgs(int index, PartialArg.Builder builderForValue)
public FunctionCall.Builder addPartialArgs(int index, PartialArg.Builder builderForValue)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PartialArg.Builder |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
addPartialArgsBuilder()
public PartialArg.Builder addPartialArgsBuilder()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
|
addPartialArgsBuilder(int index)
public PartialArg.Builder addPartialArgsBuilder(int index)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FunctionCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
build()
public FunctionCall build()| Returns | |
|---|---|
| Type | Description |
FunctionCall |
|
buildPartial()
public FunctionCall buildPartial()| Returns | |
|---|---|
| Type | Description |
FunctionCall |
|
clear()
public FunctionCall.Builder clear()| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
clearArgs()
public FunctionCall.Builder clearArgs()Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public FunctionCall.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
clearName()
public FunctionCall.Builder clearName()Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FunctionCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
clearPartialArgs()
public FunctionCall.Builder clearPartialArgs()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
clearWillContinue()
public FunctionCall.Builder clearWillContinue()Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
This builder for chaining. |
clone()
public FunctionCall.Builder clone()| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
getArgs()
public Struct getArgs()Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The args. |
getArgsBuilder()
public Struct.Builder getArgsBuilder()Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getArgsOrBuilder()
public StructOrBuilder getArgsOrBuilder()Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public FunctionCall getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FunctionCall |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPartialArgs(int index)
public PartialArg getPartialArgs(int index)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartialArg |
|
getPartialArgsBuilder(int index)
public PartialArg.Builder getPartialArgsBuilder(int index)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartialArg.Builder |
|
getPartialArgsBuilderList()
public List<PartialArg.Builder> getPartialArgsBuilderList()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPartialArgsCount()
public int getPartialArgsCount()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPartialArgsList()
public List<PartialArg> getPartialArgsList()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<PartialArg> |
|
getPartialArgsOrBuilder(int index)
public PartialArgOrBuilder getPartialArgsOrBuilder(int index)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartialArgOrBuilder |
|
getPartialArgsOrBuilderList()
public List<? extends PartialArgOrBuilder> getPartialArgsOrBuilderList()Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1.PartialArgOrBuilder> |
|
getWillContinue()
public boolean getWillContinue()Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The willContinue. |
hasArgs()
public boolean hasArgs()Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the args field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeArgs(Struct value)
public FunctionCall.Builder mergeArgs(Struct value)Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
mergeFrom(FunctionCall other)
public FunctionCall.Builder mergeFrom(FunctionCall other)| Parameter | |
|---|---|
| Name | Description |
other |
FunctionCall |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FunctionCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FunctionCall.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FunctionCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
removePartialArgs(int index)
public FunctionCall.Builder removePartialArgs(int index)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setArgs(Struct value)
public FunctionCall.Builder setArgs(Struct value)Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setArgs(Struct.Builder builderForValue)
public FunctionCall.Builder setArgs(Struct.Builder builderForValue)Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
.google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public FunctionCall.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setName(String value)
public FunctionCall.Builder setName(String value)Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FunctionCall.Builder setNameBytes(ByteString value)Optional. The name of the function to call. Matches [FunctionDeclaration.name].
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
This builder for chaining. |
setPartialArgs(int index, PartialArg value)
public FunctionCall.Builder setPartialArgs(int index, PartialArg value)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PartialArg |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setPartialArgs(int index, PartialArg.Builder builderForValue)
public FunctionCall.Builder setPartialArgs(int index, PartialArg.Builder builderForValue)Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PartialArg.Builder |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FunctionCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FunctionCall.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
|
setWillContinue(boolean value)
public FunctionCall.Builder setWillContinue(boolean value)Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe willContinue to set. |
| Returns | |
|---|---|
| Type | Description |
FunctionCall.Builder |
This builder for chaining. |