public static final class UpdateWatchlistRequest.Builder extends GeneratedMessage.Builder<UpdateWatchlistRequest.Builder> implements UpdateWatchlistRequestOrBuilderRequest message for updating watchlist.
Protobuf type google.cloud.chronicle.v1.UpdateWatchlistRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateWatchlistRequest.BuilderImplements
UpdateWatchlistRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateWatchlistRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest |
|
buildPartial()
public UpdateWatchlistRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest |
|
clear()
public UpdateWatchlistRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
clearUpdateMask()
public UpdateWatchlistRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
clearWatchlist()
public UpdateWatchlistRequest.Builder clearWatchlist()Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
getDefaultInstanceForType()
public UpdateWatchlistRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getWatchlist()
public Watchlist getWatchlist()Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Watchlist |
The watchlist. |
getWatchlistBuilder()
public Watchlist.Builder getWatchlistBuilder()Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Watchlist.Builder |
|
getWatchlistOrBuilder()
public WatchlistOrBuilder getWatchlistOrBuilder()Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WatchlistOrBuilder |
|
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
hasWatchlist()
public boolean hasWatchlist()Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the watchlist field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateWatchlistRequest other)
public UpdateWatchlistRequest.Builder mergeFrom(UpdateWatchlistRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateWatchlistRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateWatchlistRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateWatchlistRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateWatchlistRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
mergeWatchlist(Watchlist value)
public UpdateWatchlistRequest.Builder mergeWatchlist(Watchlist value)Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Watchlist |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateWatchlistRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateWatchlistRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
setWatchlist(Watchlist value)
public UpdateWatchlistRequest.Builder setWatchlist(Watchlist value)Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Watchlist |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|
setWatchlist(Watchlist.Builder builderForValue)
public UpdateWatchlistRequest.Builder setWatchlist(Watchlist.Builder builderForValue)Required. The watchlist to update.
The watchlist's name field is used to identify the watchlist to update.
Format:
projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Watchlist.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateWatchlistRequest.Builder |
|