public static final class GenerateAppResourceRequest.AppGenerationConfig.Builder extends GeneratedMessage.Builder<GenerateAppResourceRequest.AppGenerationConfig.Builder> implements GenerateAppResourceRequest.AppGenerationConfigOrBuilderThe configuration to be used to generate the app.
Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest.AppGenerationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateAppResourceRequest.AppGenerationConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFileContexts(Iterable<? extends FileContext> values)
public GenerateAppResourceRequest.AppGenerationConfig.Builder addAllFileContexts(Iterable<? extends FileContext> values)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.ces.v1beta.FileContext> |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
addFileContexts(FileContext value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder addFileContexts(FileContext value)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FileContext |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
addFileContexts(FileContext.Builder builderForValue)
public GenerateAppResourceRequest.AppGenerationConfig.Builder addFileContexts(FileContext.Builder builderForValue)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FileContext.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
addFileContexts(int index, FileContext value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder addFileContexts(int index, FileContext value)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FileContext |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
addFileContexts(int index, FileContext.Builder builderForValue)
public GenerateAppResourceRequest.AppGenerationConfig.Builder addFileContexts(int index, FileContext.Builder builderForValue)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FileContext.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
addFileContextsBuilder()
public FileContext.Builder addFileContextsBuilder()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FileContext.Builder |
|
addFileContextsBuilder(int index)
public FileContext.Builder addFileContextsBuilder(int index)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileContext.Builder |
|
build()
public GenerateAppResourceRequest.AppGenerationConfig build()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig |
|
buildPartial()
public GenerateAppResourceRequest.AppGenerationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig |
|
clear()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
clearContext()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clearContext()Optional. The context which describes the requirements of the agents & tools to be generated.
string context = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
clearDatasetId()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clearDatasetId() Optional. The insights dataset to be used to fetch conversation data for
generating the agents & tools.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
string dataset_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
clearFileContexts()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clearFileContexts()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
clearGcsLocation()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clearGcsLocation() Optional. The Cloud Storage location to store the generated question
answer data to be used by the Datastore tool. This data is generated only
when using conversation data as an input source. The location must be
in the same project as the app.
Format: gs://....
string gcs_location = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
clearGenerateEvaluations()
public GenerateAppResourceRequest.AppGenerationConfig.Builder clearGenerateEvaluations()Optional. Whether to generate the evaluations for the app. If true, the provided context will be used to generate the evaluations data.
bool generate_evaluations = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
getContext()
public String getContext()Optional. The context which describes the requirements of the agents & tools to be generated.
string context = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The context. |
getContextBytes()
public ByteString getContextBytes()Optional. The context which describes the requirements of the agents & tools to be generated.
string context = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for context. |
getDatasetId()
public String getDatasetId() Optional. The insights dataset to be used to fetch conversation data for
generating the agents & tools.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
string dataset_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The datasetId. |
getDatasetIdBytes()
public ByteString getDatasetIdBytes() Optional. The insights dataset to be used to fetch conversation data for
generating the agents & tools.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
string dataset_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for datasetId. |
getDefaultInstanceForType()
public GenerateAppResourceRequest.AppGenerationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileContexts(int index)
public FileContext getFileContexts(int index)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileContext |
|
getFileContextsBuilder(int index)
public FileContext.Builder getFileContextsBuilder(int index)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileContext.Builder |
|
getFileContextsBuilderList()
public List<FileContext.Builder> getFileContextsBuilderList()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getFileContextsCount()
public int getFileContextsCount()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getFileContextsList()
public List<FileContext> getFileContextsList()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<FileContext> |
|
getFileContextsOrBuilder(int index)
public FileContextOrBuilder getFileContextsOrBuilder(int index)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileContextOrBuilder |
|
getFileContextsOrBuilderList()
public List<? extends FileContextOrBuilder> getFileContextsOrBuilderList()Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.FileContextOrBuilder> |
|
getGcsLocation()
public String getGcsLocation() Optional. The Cloud Storage location to store the generated question
answer data to be used by the Datastore tool. This data is generated only
when using conversation data as an input source. The location must be
in the same project as the app.
Format: gs://....
string gcs_location = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The gcsLocation. |
getGcsLocationBytes()
public ByteString getGcsLocationBytes() Optional. The Cloud Storage location to store the generated question
answer data to be used by the Datastore tool. This data is generated only
when using conversation data as an input source. The location must be
in the same project as the app.
Format: gs://....
string gcs_location = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsLocation. |
getGenerateEvaluations()
public boolean getGenerateEvaluations()Optional. Whether to generate the evaluations for the app. If true, the provided context will be used to generate the evaluations data.
bool generate_evaluations = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateEvaluations. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateAppResourceRequest.AppGenerationConfig other)
public GenerateAppResourceRequest.AppGenerationConfig.Builder mergeFrom(GenerateAppResourceRequest.AppGenerationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAppResourceRequest.AppGenerationConfig |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateAppResourceRequest.AppGenerationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateAppResourceRequest.AppGenerationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
removeFileContexts(int index)
public GenerateAppResourceRequest.AppGenerationConfig.Builder removeFileContexts(int index)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
setContext(String value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setContext(String value)Optional. The context which describes the requirements of the agents & tools to be generated.
string context = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe context to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setContextBytes(ByteString value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setContextBytes(ByteString value)Optional. The context which describes the requirements of the agents & tools to be generated.
string context = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for context to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setDatasetId(String value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setDatasetId(String value) Optional. The insights dataset to be used to fetch conversation data for
generating the agents & tools.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
string dataset_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe datasetId to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setDatasetIdBytes(ByteString value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setDatasetIdBytes(ByteString value) Optional. The insights dataset to be used to fetch conversation data for
generating the agents & tools.
Format:
projects/{project}/locations/{location}/datasets/{dataset}.
string dataset_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for datasetId to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setFileContexts(int index, FileContext value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setFileContexts(int index, FileContext value)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FileContext |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
setFileContexts(int index, FileContext.Builder builderForValue)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setFileContexts(int index, FileContext.Builder builderForValue)Optional. The files to be used as context.
repeated .google.cloud.ces.v1beta.FileContext file_contexts = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FileContext.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
|
setGcsLocation(String value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setGcsLocation(String value) Optional. The Cloud Storage location to store the generated question
answer data to be used by the Datastore tool. This data is generated only
when using conversation data as an input source. The location must be
in the same project as the app.
Format: gs://....
string gcs_location = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsLocation to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setGcsLocationBytes(ByteString value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setGcsLocationBytes(ByteString value) Optional. The Cloud Storage location to store the generated question
answer data to be used by the Datastore tool. This data is generated only
when using conversation data as an input source. The location must be
in the same project as the app.
Format: gs://....
string gcs_location = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsLocation to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |
setGenerateEvaluations(boolean value)
public GenerateAppResourceRequest.AppGenerationConfig.Builder setGenerateEvaluations(boolean value)Optional. Whether to generate the evaluations for the app. If true, the provided context will be used to generate the evaluations data.
bool generate_evaluations = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe generateEvaluations to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAppResourceRequest.AppGenerationConfig.Builder |
This builder for chaining. |