public static final class SearchCatalogRequest.Scope.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder> implements SearchCatalogRequest.ScopeOrBuilder
The criteria that select the subspace used for query matching.Protobuf type
google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope| Modifier and Type | Method and Description |
|---|---|
SearchCatalogRequest.Scope.Builder |
addAllIncludeOrgIds(Iterable<String> values)
The list of organization IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addAllIncludeProjectIds(Iterable<String> values)
The list of project IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addAllRestrictedLocations(Iterable<String> values)
Optional.
|
SearchCatalogRequest.Scope.Builder |
addIncludeOrgIds(String value)
The list of organization IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addIncludeOrgIdsBytes(com.google.protobuf.ByteString value)
The list of organization IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addIncludeProjectIds(String value)
The list of project IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addIncludeProjectIdsBytes(com.google.protobuf.ByteString value)
The list of project IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchCatalogRequest.Scope.Builder |
addRestrictedLocations(String value)
Optional.
|
SearchCatalogRequest.Scope.Builder |
addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
Optional.
|
SearchCatalogRequest.Scope |
build() |
SearchCatalogRequest.Scope |
buildPartial() |
SearchCatalogRequest.Scope.Builder |
clear() |
SearchCatalogRequest.Scope.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SearchCatalogRequest.Scope.Builder |
clearIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in the
search results.
|
SearchCatalogRequest.Scope.Builder |
clearIncludeOrgIds()
The list of organization IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
clearIncludeProjectIds()
The list of project IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SearchCatalogRequest.Scope.Builder |
clearRestrictedLocations()
Optional.
|
SearchCatalogRequest.Scope.Builder |
clone() |
SearchCatalogRequest.Scope |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in the
search results.
|
String |
getIncludeOrgIds(int index)
The list of organization IDs to search within.
|
com.google.protobuf.ByteString |
getIncludeOrgIdsBytes(int index)
The list of organization IDs to search within.
|
int |
getIncludeOrgIdsCount()
The list of organization IDs to search within.
|
com.google.protobuf.ProtocolStringList |
getIncludeOrgIdsList()
The list of organization IDs to search within.
|
String |
getIncludeProjectIds(int index)
The list of project IDs to search within.
|
com.google.protobuf.ByteString |
getIncludeProjectIdsBytes(int index)
The list of project IDs to search within.
|
int |
getIncludeProjectIdsCount()
The list of project IDs to search within.
|
com.google.protobuf.ProtocolStringList |
getIncludeProjectIdsList()
The list of project IDs to search within.
|
String |
getRestrictedLocations(int index)
Optional.
|
com.google.protobuf.ByteString |
getRestrictedLocationsBytes(int index)
Optional.
|
int |
getRestrictedLocationsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getRestrictedLocationsList()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SearchCatalogRequest.Scope.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SearchCatalogRequest.Scope.Builder |
mergeFrom(com.google.protobuf.Message other) |
SearchCatalogRequest.Scope.Builder |
mergeFrom(SearchCatalogRequest.Scope other) |
SearchCatalogRequest.Scope.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SearchCatalogRequest.Scope.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchCatalogRequest.Scope.Builder |
setIncludeGcpPublicDatasets(boolean value)
If `true`, include Google Cloud public datasets in the
search results.
|
SearchCatalogRequest.Scope.Builder |
setIncludeOrgIds(int index,
String value)
The list of organization IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
setIncludeProjectIds(int index,
String value)
The list of project IDs to search within.
|
SearchCatalogRequest.Scope.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SearchCatalogRequest.Scope.Builder |
setRestrictedLocations(int index,
String value)
Optional.
|
SearchCatalogRequest.Scope.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.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<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SearchCatalogRequest.Scope build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SearchCatalogRequest.Scope buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SearchCatalogRequest.Scope.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.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<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.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<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.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<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.Builder mergeFrom(SearchCatalogRequest.Scope other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>public SearchCatalogRequest.Scope.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<SearchCatalogRequest.Scope.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getIncludeOrgIdsList()
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;getIncludeOrgIdsList in interface SearchCatalogRequest.ScopeOrBuilderpublic int getIncludeOrgIdsCount()
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;getIncludeOrgIdsCount in interface SearchCatalogRequest.ScopeOrBuilderpublic String getIncludeOrgIds(int index)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;getIncludeOrgIds in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;getIncludeOrgIdsBytes in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the value to return.public SearchCatalogRequest.Scope.Builder setIncludeOrgIds(int index, String value)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;index - The index to set the value at.value - The includeOrgIds to set.public SearchCatalogRequest.Scope.Builder addIncludeOrgIds(String value)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;value - The includeOrgIds to add.public SearchCatalogRequest.Scope.Builder addAllIncludeOrgIds(Iterable<String> values)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;values - The includeOrgIds to add.public SearchCatalogRequest.Scope.Builder clearIncludeOrgIds()
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;public SearchCatalogRequest.Scope.Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value)
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;value - The bytes of the includeOrgIds to add.public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList()
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;getIncludeProjectIdsList in interface SearchCatalogRequest.ScopeOrBuilderpublic int getIncludeProjectIdsCount()
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;getIncludeProjectIdsCount in interface SearchCatalogRequest.ScopeOrBuilderpublic String getIncludeProjectIds(int index)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;getIncludeProjectIds in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;getIncludeProjectIdsBytes in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the value to return.public SearchCatalogRequest.Scope.Builder setIncludeProjectIds(int index, String value)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;index - The index to set the value at.value - The includeProjectIds to set.public SearchCatalogRequest.Scope.Builder addIncludeProjectIds(String value)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;value - The includeProjectIds to add.public SearchCatalogRequest.Scope.Builder addAllIncludeProjectIds(Iterable<String> values)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;values - The includeProjectIds to add.public SearchCatalogRequest.Scope.Builder clearIncludeProjectIds()
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;public SearchCatalogRequest.Scope.Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value)
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects.
repeated string include_project_ids = 3;value - The bytes of the includeProjectIds to add.public boolean getIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in the search results. Info on Google Cloud public datasets is available at https://cloud.google.com/public-datasets/. By default, Google Cloud public datasets are excluded.
bool include_gcp_public_datasets = 7;getIncludeGcpPublicDatasets in interface SearchCatalogRequest.ScopeOrBuilderpublic SearchCatalogRequest.Scope.Builder setIncludeGcpPublicDatasets(boolean value)
If `true`, include Google Cloud public datasets in the search results. Info on Google Cloud public datasets is available at https://cloud.google.com/public-datasets/. By default, Google Cloud public datasets are excluded.
bool include_gcp_public_datasets = 7;value - The includeGcpPublicDatasets to set.public SearchCatalogRequest.Scope.Builder clearIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in the search results. Info on Google Cloud public datasets is available at https://cloud.google.com/public-datasets/. By default, Google Cloud public datasets are excluded.
bool include_gcp_public_datasets = 7;public com.google.protobuf.ProtocolStringList getRestrictedLocationsList()
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedLocationsList in interface SearchCatalogRequest.ScopeOrBuilderpublic int getRestrictedLocationsCount()
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedLocationsCount in interface SearchCatalogRequest.ScopeOrBuilderpublic String getRestrictedLocations(int index)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedLocations in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
getRestrictedLocationsBytes in interface SearchCatalogRequest.ScopeOrBuilderindex - The index of the value to return.public SearchCatalogRequest.Scope.Builder setRestrictedLocations(int index, String value)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The restrictedLocations to set.public SearchCatalogRequest.Scope.Builder addRestrictedLocations(String value)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
value - The restrictedLocations to add.public SearchCatalogRequest.Scope.Builder addAllRestrictedLocations(Iterable<String> values)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
values - The restrictedLocations to add.public SearchCatalogRequest.Scope.Builder clearRestrictedLocations()
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
public SearchCatalogRequest.Scope.Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes of the restrictedLocations to add.public final SearchCatalogRequest.Scope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>public final SearchCatalogRequest.Scope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>Copyright © 2025 Google LLC. All rights reserved.