public static final class GetProcessedDocumentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder> implements GetProcessedDocumentRequestOrBuilder
Request message for [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] method.Protobuf type
google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.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.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetProcessedDocumentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetProcessedDocumentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetProcessedDocumentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.Builder mergeFrom(GetProcessedDocumentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public GetProcessedDocumentRequest.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<GetProcessedDocumentRequest.Builder>IOExceptionpublic String getName()
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1alpha.Document], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1alpha.Document], regardless of
whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Document][google.cloud.discoveryengine.v1alpha.Document]
does not exist, a `NOT_FOUND` error is returned.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface GetProcessedDocumentRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1alpha.Document], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1alpha.Document], regardless of
whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Document][google.cloud.discoveryengine.v1alpha.Document]
does not exist, a `NOT_FOUND` error is returned.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface GetProcessedDocumentRequestOrBuilderpublic GetProcessedDocumentRequest.Builder setName(String value)
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1alpha.Document], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1alpha.Document], regardless of
whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Document][google.cloud.discoveryengine.v1alpha.Document]
does not exist, a `NOT_FOUND` error is returned.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public GetProcessedDocumentRequest.Builder clearName()
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1alpha.Document], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1alpha.Document], regardless of
whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Document][google.cloud.discoveryengine.v1alpha.Document]
does not exist, a `NOT_FOUND` error is returned.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public GetProcessedDocumentRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1alpha.Document], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1alpha.Document], regardless of
whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Document][google.cloud.discoveryengine.v1alpha.Document]
does not exist, a `NOT_FOUND` error is returned.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public int getProcessedDocumentTypeValue()
Required. What type of processing to return.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType processed_document_type = 2 [(.google.api.field_behavior) = REQUIRED];
getProcessedDocumentTypeValue in interface GetProcessedDocumentRequestOrBuilderpublic GetProcessedDocumentRequest.Builder setProcessedDocumentTypeValue(int value)
Required. What type of processing to return.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType processed_document_type = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for processedDocumentType to set.public GetProcessedDocumentRequest.ProcessedDocumentType getProcessedDocumentType()
Required. What type of processing to return.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType processed_document_type = 2 [(.google.api.field_behavior) = REQUIRED];
getProcessedDocumentType in interface GetProcessedDocumentRequestOrBuilderpublic GetProcessedDocumentRequest.Builder setProcessedDocumentType(GetProcessedDocumentRequest.ProcessedDocumentType value)
Required. What type of processing to return.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType processed_document_type = 2 [(.google.api.field_behavior) = REQUIRED];
value - The processedDocumentType to set.public GetProcessedDocumentRequest.Builder clearProcessedDocumentType()
Required. What type of processing to return.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType processed_document_type = 2 [(.google.api.field_behavior) = REQUIRED];
public int getProcessedDocumentFormatValue()
What format output should be. If unspecified, defaults to JSON.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat processed_document_format = 3;
getProcessedDocumentFormatValue in interface GetProcessedDocumentRequestOrBuilderpublic GetProcessedDocumentRequest.Builder setProcessedDocumentFormatValue(int value)
What format output should be. If unspecified, defaults to JSON.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat processed_document_format = 3;
value - The enum numeric value on the wire for processedDocumentFormat to set.public GetProcessedDocumentRequest.ProcessedDocumentFormat getProcessedDocumentFormat()
What format output should be. If unspecified, defaults to JSON.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat processed_document_format = 3;
getProcessedDocumentFormat in interface GetProcessedDocumentRequestOrBuilderpublic GetProcessedDocumentRequest.Builder setProcessedDocumentFormat(GetProcessedDocumentRequest.ProcessedDocumentFormat value)
What format output should be. If unspecified, defaults to JSON.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat processed_document_format = 3;
value - The processedDocumentFormat to set.public GetProcessedDocumentRequest.Builder clearProcessedDocumentFormat()
What format output should be. If unspecified, defaults to JSON.
.google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat processed_document_format = 3;
public final GetProcessedDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>public final GetProcessedDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetProcessedDocumentRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.