public static final class UpdateWatchlistRequest.Builder extends GeneratedMessageV3.Builder<UpdateWatchlistRequest.Builder> implements UpdateWatchlistRequestOrBuilder
Request message for updating watchlist.
Protobuf type google.cloud.chronicle.v1.UpdateWatchlistRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateWatchlistRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWatchlistRequest build()
buildPartial()
public UpdateWatchlistRequest buildPartial()
clear()
public UpdateWatchlistRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateWatchlistRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWatchlistRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateWatchlistRequest.Builder clearUpdateMask()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
clone()
public UpdateWatchlistRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateWatchlistRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWatchlistRequest other)
public UpdateWatchlistRequest.Builder mergeFrom(UpdateWatchlistRequest other)
public UpdateWatchlistRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWatchlistRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWatchlistRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWatchlistRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWatchlistRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWatchlistRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|
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];
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];