Class SearchCatalogRequest.Scope
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1beta1.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.GeneratedMessage
implements SearchCatalogRequest.ScopeOrBuilder
The criteria that select the subspace used for query matching.Protobuf type
google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe criteria that select the subspace used for query matching.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SearchCatalogRequest.Scopestatic final com.google.protobuf.Descriptors.DescriptorbooleanIf `true`, include Google Cloud public datasets in the search results.getIncludeOrgIds(int index) The list of organization IDs to search within.com.google.protobuf.ByteStringgetIncludeOrgIdsBytes(int index) The list of organization IDs to search within.intThe list of organization IDs to search within.com.google.protobuf.ProtocolStringListThe list of organization IDs to search within.getIncludeProjectIds(int index) The list of project IDs to search within.com.google.protobuf.ByteStringgetIncludeProjectIdsBytes(int index) The list of project IDs to search within.intThe list of project IDs to search within.com.google.protobuf.ProtocolStringListThe list of project IDs to search within.com.google.protobuf.Parser<SearchCatalogRequest.Scope>getRestrictedLocations(int index) Optional.com.google.protobuf.ByteStringgetRestrictedLocationsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SearchCatalogRequest.Scope prototype) protected SearchCatalogRequest.Scope.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INCLUDE_ORG_IDS_FIELD_NUMBER
public static final int INCLUDE_ORG_IDS_FIELD_NUMBER- See Also:
-
INCLUDE_PROJECT_IDS_FIELD_NUMBER
public static final int INCLUDE_PROJECT_IDS_FIELD_NUMBER- See Also:
-
INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER
public static final int INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER- See Also:
-
RESTRICTED_LOCATIONS_FIELD_NUMBER
public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getIncludeOrgIdsList
public 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;- 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 instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization.
repeated string include_org_ids = 2;- Specified by:
getIncludeOrgIdsCountin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The count of includeOrgIds.
-
getIncludeOrgIds
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;- 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 instructions in https://cloud.google.com/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. 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;- Specified by:
getIncludeProjectIdsListin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- A list containing the includeProjectIds.
-
getIncludeProjectIdsCount
public 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;- Specified by:
getIncludeProjectIdsCountin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The count of includeProjectIds.
-
getIncludeProjectIds
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;- 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. 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;- 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 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;- Specified by:
getIncludeGcpPublicDatasetsin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The includeGcpPublicDatasets.
-
getRestrictedLocationsList
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];- Specified by:
getRestrictedLocationsListin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- A list containing the restrictedLocations.
-
getRestrictedLocationsCount
public 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];- Specified by:
getRestrictedLocationsCountin interfaceSearchCatalogRequest.ScopeOrBuilder- Returns:
- The count of restrictedLocations.
-
getRestrictedLocations
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];- 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. 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];- Specified by:
getRestrictedLocationsBytesin interfaceSearchCatalogRequest.ScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the restrictedLocations at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static SearchCatalogRequest.Scope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchCatalogRequest.Scope.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-