public static final class DeleteWatchlistRequest.Builder extends GeneratedMessage.Builder<DeleteWatchlistRequest.Builder> implements DeleteWatchlistRequestOrBuilderRequest message for deleting watchlist.
Protobuf type google.cloud.chronicle.v1.DeleteWatchlistRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteWatchlistRequest.BuilderImplements
DeleteWatchlistRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteWatchlistRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest |
|
buildPartial()
public DeleteWatchlistRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest |
|
clear()
public DeleteWatchlistRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
|
clearForce()
public DeleteWatchlistRequest.Builder clearForce()Optional. If set to true, any entities under this watchlist will also be deleted. (Otherwise, the request will only work if the watchlist has no entities.)
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
This builder for chaining. |
clearName()
public DeleteWatchlistRequest.Builder clearName() Required. The name of the watchlist to delete.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteWatchlistRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getForce()
public boolean getForce()Optional. If set to true, any entities under this watchlist will also be deleted. (Otherwise, the request will only work if the watchlist has no entities.)
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The force. |
getName()
public String getName() Required. The name of the watchlist to delete.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the watchlist to delete.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteWatchlistRequest other)
public DeleteWatchlistRequest.Builder mergeFrom(DeleteWatchlistRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteWatchlistRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteWatchlistRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteWatchlistRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
|
setForce(boolean value)
public DeleteWatchlistRequest.Builder setForce(boolean value)Optional. If set to true, any entities under this watchlist will also be deleted. (Otherwise, the request will only work if the watchlist has no entities.)
bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe force to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteWatchlistRequest.Builder setName(String value) Required. The name of the watchlist to delete.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteWatchlistRequest.Builder setNameBytes(ByteString value) Required. The name of the watchlist to delete.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteWatchlistRequest.Builder |
This builder for chaining. |