Package com.google.cloud.chronicle.v1
Interface CreateWatchlistRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateWatchlistRequest,CreateWatchlistRequest.Builder
@Generated
public interface CreateWatchlistRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.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
-
getParent
String getParent()Required. The parent resource where this watchlist will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource where this watchlist will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getWatchlistId
String getWatchlistId()Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string watchlist_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The watchlistId.
-
getWatchlistIdBytes
com.google.protobuf.ByteString getWatchlistIdBytes()Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string watchlist_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for watchlistId.
-
hasWatchlist
boolean hasWatchlist()Required. The watchlist to create.
.google.cloud.chronicle.v1.Watchlist watchlist = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the watchlist field is set.
-
getWatchlist
Watchlist getWatchlist()Required. The watchlist to create.
.google.cloud.chronicle.v1.Watchlist watchlist = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The watchlist.
-
getWatchlistOrBuilder
WatchlistOrBuilder getWatchlistOrBuilder()Required. The watchlist to create.
.google.cloud.chronicle.v1.Watchlist watchlist = 3 [(.google.api.field_behavior) = REQUIRED];
-