Package com.google.cloud.datacatalog.v1
Class SearchCatalogRequest.Scope.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
- com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder
-
- All Implemented Interfaces:
SearchCatalogRequest.ScopeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SearchCatalogRequest.Scope
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 typegoogle.cloud.datacatalog.v1.SearchCatalogRequest.Scope
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 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
clearIncludePublicTagTemplates()
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated.SearchCatalogRequest.Scope.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SearchCatalogRequest.Scope.Builder
clearRestrictedLocations()
Optional.SearchCatalogRequest.Scope.Builder
clearStarredOnly()
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 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.boolean
getIncludePublicTagTemplates()
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated.String
getRestrictedLocations(int index)
Optional.com.google.protobuf.ByteString
getRestrictedLocationsBytes(int index)
Optional.int
getRestrictedLocationsCount()
Optional.com.google.protobuf.ProtocolStringList
getRestrictedLocationsList()
Optional.boolean
getStarredOnly()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SearchCatalogRequest.Scope.Builder
mergeFrom(SearchCatalogRequest.Scope other)
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
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 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
setIncludePublicTagTemplates(boolean value)
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated.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
setStarredOnly(boolean value)
Optional.SearchCatalogRequest.Scope.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
clear
public SearchCatalogRequest.Scope.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
getDefaultInstanceForType
public SearchCatalogRequest.Scope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchCatalogRequest.Scope build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchCatalogRequest.Scope buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchCatalogRequest.Scope.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
setField
public SearchCatalogRequest.Scope.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
clearField
public SearchCatalogRequest.Scope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
clearOneof
public SearchCatalogRequest.Scope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
setRepeatedField
public SearchCatalogRequest.Scope.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
addRepeatedField
public SearchCatalogRequest.Scope.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
mergeFrom
public SearchCatalogRequest.Scope.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchCatalogRequest.Scope.Builder>
-
mergeFrom
public SearchCatalogRequest.Scope.Builder mergeFrom(SearchCatalogRequest.Scope other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
mergeFrom
public SearchCatalogRequest.Scope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchCatalogRequest.Scope.Builder>
- Throws:
IOException
-
getIncludeOrgIdsList
public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList()
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Specified by:
getIncludeOrgIdsList
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- A list containing the includeOrgIds.
-
getIncludeOrgIdsCount
public int getIncludeOrgIdsCount()
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Specified by:
getIncludeOrgIdsCount
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The count of includeOrgIds.
-
getIncludeOrgIds
public String getIncludeOrgIds(int index)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Specified by:
getIncludeOrgIds
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The includeOrgIds at the given index.
-
getIncludeOrgIdsBytes
public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Specified by:
getIncludeOrgIdsBytes
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the includeOrgIds at the given index.
-
setIncludeOrgIds
public SearchCatalogRequest.Scope.Builder setIncludeOrgIds(int index, String value)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Parameters:
index
- The index to set the value at.value
- The includeOrgIds to set.- Returns:
- This builder for chaining.
-
addIncludeOrgIds
public SearchCatalogRequest.Scope.Builder addIncludeOrgIds(String value)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Parameters:
value
- The includeOrgIds to add.- Returns:
- This builder for chaining.
-
addAllIncludeOrgIds
public SearchCatalogRequest.Scope.Builder addAllIncludeOrgIds(Iterable<String> values)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Parameters:
values
- The includeOrgIds to add.- Returns:
- This builder for chaining.
-
clearIncludeOrgIds
public SearchCatalogRequest.Scope.Builder clearIncludeOrgIds()
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Returns:
- This builder for chaining.
-
addIncludeOrgIdsBytes
public SearchCatalogRequest.Scope.Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value)
The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).
repeated string include_org_ids = 2;
- Parameters:
value
- The bytes of the includeOrgIds to add.- Returns:
- This builder for chaining.
-
getIncludeProjectIdsList
public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList()
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Specified by:
getIncludeProjectIdsList
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- A list containing the includeProjectIds.
-
getIncludeProjectIdsCount
public int getIncludeProjectIdsCount()
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Specified by:
getIncludeProjectIdsCount
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The count of includeProjectIds.
-
getIncludeProjectIds
public String getIncludeProjectIds(int index)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Specified by:
getIncludeProjectIds
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The includeProjectIds at the given index.
-
getIncludeProjectIdsBytes
public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Specified by:
getIncludeProjectIdsBytes
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the includeProjectIds at the given index.
-
setIncludeProjectIds
public SearchCatalogRequest.Scope.Builder setIncludeProjectIds(int index, String value)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Parameters:
index
- The index to set the value at.value
- The includeProjectIds to set.- Returns:
- This builder for chaining.
-
addIncludeProjectIds
public SearchCatalogRequest.Scope.Builder addIncludeProjectIds(String value)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Parameters:
value
- The includeProjectIds to add.- Returns:
- This builder for chaining.
-
addAllIncludeProjectIds
public SearchCatalogRequest.Scope.Builder addAllIncludeProjectIds(Iterable<String> values)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Parameters:
values
- The includeProjectIds to add.- Returns:
- This builder for chaining.
-
clearIncludeProjectIds
public SearchCatalogRequest.Scope.Builder clearIncludeProjectIds()
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Returns:
- This builder for chaining.
-
addIncludeProjectIdsBytes
public SearchCatalogRequest.Scope.Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value)
The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects).
repeated string include_project_ids = 3;
- Parameters:
value
- The bytes of the includeProjectIds to add.- Returns:
- This builder for chaining.
-
getIncludeGcpPublicDatasets
public boolean getIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in search results. By default, they are excluded. See [Google Cloud Public Datasets](/public-datasets) for more information.
bool include_gcp_public_datasets = 7;
- Specified by:
getIncludeGcpPublicDatasets
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The includeGcpPublicDatasets.
-
setIncludeGcpPublicDatasets
public SearchCatalogRequest.Scope.Builder setIncludeGcpPublicDatasets(boolean value)
If `true`, include Google Cloud public datasets in search results. By default, they are excluded. See [Google Cloud Public Datasets](/public-datasets) for more information.
bool include_gcp_public_datasets = 7;
- Parameters:
value
- The includeGcpPublicDatasets to set.- Returns:
- This builder for chaining.
-
clearIncludeGcpPublicDatasets
public SearchCatalogRequest.Scope.Builder clearIncludeGcpPublicDatasets()
If `true`, include Google Cloud public datasets in search results. By default, they are excluded. See [Google Cloud Public Datasets](/public-datasets) for more information.
bool include_gcp_public_datasets = 7;
- Returns:
- This builder for chaining.
-
getRestrictedLocationsList
public com.google.protobuf.ProtocolStringList getRestrictedLocationsList()
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRestrictedLocationsList
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- A list containing the restrictedLocations.
-
getRestrictedLocationsCount
public int getRestrictedLocationsCount()
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRestrictedLocationsCount
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The count of restrictedLocations.
-
getRestrictedLocations
public String getRestrictedLocations(int index)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRestrictedLocations
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The restrictedLocations at the given index.
-
getRestrictedLocationsBytes
public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRestrictedLocationsBytes
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the restrictedLocations at the given index.
-
setRestrictedLocations
public SearchCatalogRequest.Scope.Builder setRestrictedLocations(int index, String value)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The restrictedLocations to set.- Returns:
- This builder for chaining.
-
addRestrictedLocations
public SearchCatalogRequest.Scope.Builder addRestrictedLocations(String value)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The restrictedLocations to add.- Returns:
- This builder for chaining.
-
addAllRestrictedLocations
public SearchCatalogRequest.Scope.Builder addAllRestrictedLocations(Iterable<String> values)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The restrictedLocations to add.- Returns:
- This builder for chaining.
-
clearRestrictedLocations
public SearchCatalogRequest.Scope.Builder clearRestrictedLocations()
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addRestrictedLocationsBytes
public SearchCatalogRequest.Scope.Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the restrictedLocations to add.- Returns:
- This builder for chaining.
-
getStarredOnly
public boolean getStarredOnly()
Optional. If `true`, search only among starred entries. By default, all results are returned, starred or not.
bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getStarredOnly
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The starredOnly.
-
setStarredOnly
public SearchCatalogRequest.Scope.Builder setStarredOnly(boolean value)
Optional. If `true`, search only among starred entries. By default, all results are returned, starred or not.
bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The starredOnly to set.- Returns:
- This builder for chaining.
-
clearStarredOnly
public SearchCatalogRequest.Scope.Builder clearStarredOnly()
Optional. If `true`, search only among starred entries. By default, all results are returned, starred or not.
bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getIncludePublicTagTemplates
@Deprecated public boolean getIncludePublicTagTemplates()
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.
bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- Specified by:
getIncludePublicTagTemplates
in interfaceSearchCatalogRequest.ScopeOrBuilder
- Returns:
- The includePublicTagTemplates.
-
setIncludePublicTagTemplates
@Deprecated public SearchCatalogRequest.Scope.Builder setIncludePublicTagTemplates(boolean value)
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.
bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The includePublicTagTemplates to set.- Returns:
- This builder for chaining.
-
clearIncludePublicTagTemplates
@Deprecated public SearchCatalogRequest.Scope.Builder clearIncludePublicTagTemplates()
Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.
bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SearchCatalogRequest.Scope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
mergeUnknownFields
public final SearchCatalogRequest.Scope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogRequest.Scope.Builder>
-
-