public static final class GenerateAppResourceRequest.AppGenerationConfig extends GeneratedMessage implements GenerateAppResourceRequest.AppGenerationConfigOrBuilder
The configuration to be used to generate the app.
Protobuf type google.cloud.ces.v1beta.GenerateAppResourceRequest.AppGenerationConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATASET_ID_FIELD_NUMBER
public static final int DATASET_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_CONTEXTS_FIELD_NUMBER
public static final int FILE_CONTEXTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GCS_LOCATION_FIELD_NUMBER
public static final int GCS_LOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GENERATE_EVALUATIONS_FIELD_NUMBER
public static final int GENERATE_EVALUATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateAppResourceRequest.AppGenerationConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateAppResourceRequest.AppGenerationConfig.Builder newBuilder()
newBuilder(GenerateAppResourceRequest.AppGenerationConfig prototype)
public static GenerateAppResourceRequest.AppGenerationConfig.Builder newBuilder(GenerateAppResourceRequest.AppGenerationConfig prototype)
public static GenerateAppResourceRequest.AppGenerationConfig parseDelimitedFrom(InputStream input)
public static GenerateAppResourceRequest.AppGenerationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(CodedInputStream input)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(InputStream input)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateAppResourceRequest.AppGenerationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateAppResourceRequest.AppGenerationConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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()
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
|
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];
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
|
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.
|
getParserForType()
public Parser<GenerateAppResourceRequest.AppGenerationConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateAppResourceRequest.AppGenerationConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GenerateAppResourceRequest.AppGenerationConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public GenerateAppResourceRequest.AppGenerationConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides