Package com.google.cloud.datacatalog.v1
Class SearchCatalogRequest.Scope
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
-
- All Implemented Interfaces:
SearchCatalogRequest.ScopeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- SearchCatalogRequest
public static final class SearchCatalogRequest.Scope extends com.google.protobuf.GeneratedMessageV3 implements SearchCatalogRequest.ScopeOrBuilder
The criteria that select the subspace used for query matching.
Protobuf typegoogle.cloud.datacatalog.v1.SearchCatalogRequest.Scope- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchCatalogRequest.Scope.BuilderThe criteria that select the subspace used for query matching.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intINCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBERstatic intINCLUDE_ORG_IDS_FIELD_NUMBERstatic intINCLUDE_PROJECT_IDS_FIELD_NUMBERstatic intINCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBERstatic intRESTRICTED_LOCATIONS_FIELD_NUMBERstatic intSTARRED_ONLY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static SearchCatalogRequest.ScopegetDefaultInstance()SearchCatalogRequest.ScopegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIncludeGcpPublicDatasets()If `true`, include Google Cloud public datasets in search results.StringgetIncludeOrgIds(int index)The list of organization IDs to search within.com.google.protobuf.ByteStringgetIncludeOrgIdsBytes(int index)The list of organization IDs to search within.intgetIncludeOrgIdsCount()The list of organization IDs to search within.com.google.protobuf.ProtocolStringListgetIncludeOrgIdsList()The list of organization IDs to search within.StringgetIncludeProjectIds(int index)The list of project IDs to search within.com.google.protobuf.ByteStringgetIncludeProjectIdsBytes(int index)The list of project IDs to search within.intgetIncludeProjectIdsCount()The list of project IDs to search within.com.google.protobuf.ProtocolStringListgetIncludeProjectIdsList()The list of project IDs to search within.booleangetIncludePublicTagTemplates()Deprecated.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated.com.google.protobuf.Parser<SearchCatalogRequest.Scope>getParserForType()StringgetRestrictedLocations(int index)Optional.com.google.protobuf.ByteStringgetRestrictedLocationsBytes(int index)Optional.intgetRestrictedLocationsCount()Optional.com.google.protobuf.ProtocolStringListgetRestrictedLocationsList()Optional.intgetSerializedSize()booleangetStarredOnly()Optional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SearchCatalogRequest.Scope.BuildernewBuilder()static SearchCatalogRequest.Scope.BuildernewBuilder(SearchCatalogRequest.Scope prototype)SearchCatalogRequest.Scope.BuildernewBuilderForType()protected SearchCatalogRequest.Scope.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SearchCatalogRequest.ScopeparseDelimitedFrom(InputStream input)static SearchCatalogRequest.ScopeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchCatalogRequest.ScopeparseFrom(byte[] data)static SearchCatalogRequest.ScopeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchCatalogRequest.ScopeparseFrom(com.google.protobuf.ByteString data)static SearchCatalogRequest.ScopeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchCatalogRequest.ScopeparseFrom(com.google.protobuf.CodedInputStream input)static SearchCatalogRequest.ScopeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchCatalogRequest.ScopeparseFrom(InputStream input)static SearchCatalogRequest.ScopeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchCatalogRequest.ScopeparseFrom(ByteBuffer data)static SearchCatalogRequest.ScopeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SearchCatalogRequest.Scope>parser()SearchCatalogRequest.Scope.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INCLUDE_ORG_IDS_FIELD_NUMBER
public static final int INCLUDE_ORG_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_PROJECT_IDS_FIELD_NUMBER
public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER
public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTRICTED_LOCATIONS_FIELD_NUMBER
public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARRED_ONLY_FIELD_NUMBER
public static final int STARRED_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER
public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
getIncludeOrgIdsListin 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:
getIncludeOrgIdsCountin 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:
getIncludeOrgIdsin 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:
getIncludeOrgIdsBytesin interfaceSearchCatalogRequest.ScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeOrgIds at the given index.
-
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:
getIncludeProjectIdsListin 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:
getIncludeProjectIdsCountin 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:
getIncludeProjectIdsin 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:
getIncludeProjectIdsBytesin interfaceSearchCatalogRequest.ScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeProjectIds at the given index.
-
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:
getIncludeGcpPublicDatasetsin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The includeGcpPublicDatasets.
-
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:
getRestrictedLocationsListin 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:
getRestrictedLocationsCountin 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:
getRestrictedLocationsin 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:
getRestrictedLocationsBytesin interfaceSearchCatalogRequest.ScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the restrictedLocations at the given index.
-
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:
getStarredOnlyin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The starredOnly.
-
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:
getIncludePublicTagTemplatesin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The includePublicTagTemplates.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchCatalogRequest.Scope parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchCatalogRequest.Scope parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SearchCatalogRequest.Scope.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchCatalogRequest.Scope.Builder newBuilder()
-
newBuilder
public static SearchCatalogRequest.Scope.Builder newBuilder(SearchCatalogRequest.Scope prototype)
-
toBuilder
public SearchCatalogRequest.Scope.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchCatalogRequest.Scope.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SearchCatalogRequest.Scope getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SearchCatalogRequest.Scope> parser()
-
getParserForType
public com.google.protobuf.Parser<SearchCatalogRequest.Scope> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SearchCatalogRequest.Scope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-