Class WatchlistUserPreferences.Builder (0.21.0)

public static final class WatchlistUserPreferences.Builder extends GeneratedMessage.Builder<WatchlistUserPreferences.Builder> implements WatchlistUserPreferencesOrBuilder

A collection of user preferences for watchlist UI configuration.

Protobuf type google.cloud.chronicle.v1.WatchlistUserPreferences

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public WatchlistUserPreferences build()
Returns
Type Description
WatchlistUserPreferences

buildPartial()

public WatchlistUserPreferences buildPartial()
Returns
Type Description
WatchlistUserPreferences

clear()

public WatchlistUserPreferences.Builder clear()
Returns
Type Description
WatchlistUserPreferences.Builder
Overrides

clearPinned()

public WatchlistUserPreferences.Builder clearPinned()

Optional. Whether the watchlist is pinned on the dashboard.

bool pinned = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WatchlistUserPreferences.Builder

This builder for chaining.

getDefaultInstanceForType()

public WatchlistUserPreferences getDefaultInstanceForType()
Returns
Type Description
WatchlistUserPreferences

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPinned()

public boolean getPinned()

Optional. Whether the watchlist is pinned on the dashboard.

bool pinned = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The pinned.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WatchlistUserPreferences other)

public WatchlistUserPreferences.Builder mergeFrom(WatchlistUserPreferences other)
Parameter
Name Description
other WatchlistUserPreferences
Returns
Type Description
WatchlistUserPreferences.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WatchlistUserPreferences.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WatchlistUserPreferences.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WatchlistUserPreferences.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WatchlistUserPreferences.Builder
Overrides

setPinned(boolean value)

public WatchlistUserPreferences.Builder setPinned(boolean value)

Optional. Whether the watchlist is pinned on the dashboard.

bool pinned = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The pinned to set.

Returns
Type Description
WatchlistUserPreferences.Builder

This builder for chaining.