Package com.google.cloud.dataplex.v1
Interface LookupContextRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LookupContextRequest,LookupContextRequest.Builder
@Generated
public interface LookupContextRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOptions(String key) Optional.getName()Required.com.google.protobuf.ByteStringRequired.Deprecated.intOptional.Optional.getOptionsOrDefault(String key, String defaultValue) Optional.getOptionsOrThrow(String key) Optional.getResources(int index) Required.com.google.protobuf.ByteStringgetResourcesBytes(int index) Required.intRequired.Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/{location}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/{location}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getResourcesList
Required. The entry names to lookup context for. The request should have max 10 of those. ## Examples: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the resources.
-
getResourcesCount
int getResourcesCount()Required. The entry names to lookup context for. The request should have max 10 of those. ## Examples: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The count of resources.
-
getResources
Required. The entry names to lookup context for. The request should have max 10 of those. ## Examples: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesBytes
com.google.protobuf.ByteString getResourcesBytes(int index) Required. The entry names to lookup context for. The request should have max 10 of those. ## Examples: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resources at the given index.
-
getOptionsCount
int getOptionsCount()Optional. Allows to configure the context.
map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsOptions
Optional. Allows to configure the context.
map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getOptions
Deprecated.UsegetOptionsMap()instead. -
getOptionsMap
Optional. Allows to configure the context.
map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getOptionsOrDefault
Optional. Allows to configure the context.
map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getOptionsOrThrow
Optional. Allows to configure the context.
map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
-