public static final class Assistant.Builder extends com.google.protobuf.GeneratedMessage.Builder<Assistant.Builder> implements AssistantOrBuilder
Discovery Engine Assistant resource.Protobuf type
google.cloud.discoveryengine.v1.Assistant| Modifier and Type | Method and Description |
|---|---|
Assistant |
build() |
Assistant |
buildPartial() |
Assistant.Builder |
clear() |
Assistant.Builder |
clearName()
Immutable.
|
Assistant |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Assistant.Builder |
mergeFrom(Assistant other) |
Assistant.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Assistant.Builder |
mergeFrom(com.google.protobuf.Message other) |
Assistant.Builder |
setName(String value)
Immutable.
|
Assistant.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Assistant.Builder>public Assistant.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Assistant.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Assistant.Builder>public Assistant getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Assistant build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Assistant buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Assistant.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Assistant.Builder>public Assistant.Builder mergeFrom(Assistant other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Assistant.Builder>public Assistant.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Assistant.Builder>IOExceptionpublic String getName()
Immutable. Resource name of the assistant.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`
It must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface AssistantOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Resource name of the assistant.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`
It must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface AssistantOrBuilderpublic Assistant.Builder setName(String value)
Immutable. Resource name of the assistant.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`
It must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public Assistant.Builder clearName()
Immutable. Resource name of the assistant.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`
It must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public Assistant.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Resource name of the assistant.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`
It must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.Copyright © 2026 Google LLC. All rights reserved.