Class DashboardChart.Visualization.Legend.Builder (0.31.0)

public static final class DashboardChart.Visualization.Legend.Builder extends GeneratedMessage.Builder<DashboardChart.Visualization.Legend.Builder> implements DashboardChart.Visualization.LegendOrBuilder

Protobuf type google.cloud.chronicle.v1.DashboardChart.Visualization.Legend

Static Methods

getDescriptor()

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

Methods

addAllPadding(Iterable<? extends Integer> values)

public DashboardChart.Visualization.Legend.Builder addAllPadding(Iterable<? extends Integer> values)

repeated int32 padding = 11;

Parameter
Name Description
values Iterable<? extends java.lang.Integer>

The padding to add.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

addPadding(int value)

public DashboardChart.Visualization.Legend.Builder addPadding(int value)

repeated int32 padding = 11;

Parameter
Name Description
value int

The padding to add.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

build()

public DashboardChart.Visualization.Legend build()
Returns
Type Description
DashboardChart.Visualization.Legend

buildPartial()

public DashboardChart.Visualization.Legend buildPartial()
Returns
Type Description
DashboardChart.Visualization.Legend

clear()

public DashboardChart.Visualization.Legend.Builder clear()
Returns
Type Description
DashboardChart.Visualization.Legend.Builder
Overrides

clearBottom()

public DashboardChart.Visualization.Legend.Builder clearBottom()

int32 bottom = 8;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearId()

public DashboardChart.Visualization.Legend.Builder clearId()

string id = 1;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearLeft()

public DashboardChart.Visualization.Legend.Builder clearLeft()

int32 left = 5;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearLegendAlign()

public DashboardChart.Visualization.Legend.Builder clearLegendAlign()

.google.cloud.chronicle.v1.LegendAlign legend_align = 13;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearLegendOrient()

public DashboardChart.Visualization.Legend.Builder clearLegendOrient()

.google.cloud.chronicle.v1.LegendOrient legend_orient = 12;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearPadding()

public DashboardChart.Visualization.Legend.Builder clearPadding()

repeated int32 padding = 11;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearRight()

public DashboardChart.Visualization.Legend.Builder clearRight()

int32 right = 7;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearShow()

public DashboardChart.Visualization.Legend.Builder clearShow()

bool show = 2;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearTop()

public DashboardChart.Visualization.Legend.Builder clearTop()

int32 top = 6;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearZ()

public DashboardChart.Visualization.Legend.Builder clearZ()

int32 z = 4;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

clearZLevel()

public DashboardChart.Visualization.Legend.Builder clearZLevel()

int32 z_level = 3;

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

getBottom()

public int getBottom()

int32 bottom = 8;

Returns
Type Description
int

The bottom.

getDefaultInstanceForType()

public DashboardChart.Visualization.Legend getDefaultInstanceForType()
Returns
Type Description
DashboardChart.Visualization.Legend

getDescriptorForType()

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

getId()

public String getId()

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getLeft()

public int getLeft()

int32 left = 5;

Returns
Type Description
int

The left.

getLegendAlign()

public LegendAlign getLegendAlign()

.google.cloud.chronicle.v1.LegendAlign legend_align = 13;

Returns
Type Description
LegendAlign

The legendAlign.

getLegendAlignValue()

public int getLegendAlignValue()

.google.cloud.chronicle.v1.LegendAlign legend_align = 13;

Returns
Type Description
int

The enum numeric value on the wire for legendAlign.

getLegendOrient()

public LegendOrient getLegendOrient()

.google.cloud.chronicle.v1.LegendOrient legend_orient = 12;

Returns
Type Description
LegendOrient

The legendOrient.

getLegendOrientValue()

public int getLegendOrientValue()

.google.cloud.chronicle.v1.LegendOrient legend_orient = 12;

Returns
Type Description
int

The enum numeric value on the wire for legendOrient.

getPadding(int index)

public int getPadding(int index)

repeated int32 padding = 11;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The padding at the given index.

getPaddingCount()

public int getPaddingCount()

repeated int32 padding = 11;

Returns
Type Description
int

The count of padding.

getPaddingList()

public List<Integer> getPaddingList()

repeated int32 padding = 11;

Returns
Type Description
List<Integer>

A list containing the padding.

getRight()

public int getRight()

int32 right = 7;

Returns
Type Description
int

The right.

getShow()

public boolean getShow()

bool show = 2;

Returns
Type Description
boolean

The show.

getTop()

public int getTop()

int32 top = 6;

Returns
Type Description
int

The top.

getZ()

public int getZ()

int32 z = 4;

Returns
Type Description
int

The z.

getZLevel()

public int getZLevel()

int32 z_level = 3;

Returns
Type Description
int

The zLevel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DashboardChart.Visualization.Legend other)

public DashboardChart.Visualization.Legend.Builder mergeFrom(DashboardChart.Visualization.Legend other)
Parameter
Name Description
other DashboardChart.Visualization.Legend
Returns
Type Description
DashboardChart.Visualization.Legend.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DashboardChart.Visualization.Legend.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DashboardChart.Visualization.Legend.Builder
Overrides

setBottom(int value)

public DashboardChart.Visualization.Legend.Builder setBottom(int value)

int32 bottom = 8;

Parameter
Name Description
value int

The bottom to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setId(String value)

public DashboardChart.Visualization.Legend.Builder setId(String value)

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setIdBytes(ByteString value)

public DashboardChart.Visualization.Legend.Builder setIdBytes(ByteString value)

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setLeft(int value)

public DashboardChart.Visualization.Legend.Builder setLeft(int value)

int32 left = 5;

Parameter
Name Description
value int

The left to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setLegendAlign(LegendAlign value)

public DashboardChart.Visualization.Legend.Builder setLegendAlign(LegendAlign value)

.google.cloud.chronicle.v1.LegendAlign legend_align = 13;

Parameter
Name Description
value LegendAlign

The legendAlign to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setLegendAlignValue(int value)

public DashboardChart.Visualization.Legend.Builder setLegendAlignValue(int value)

.google.cloud.chronicle.v1.LegendAlign legend_align = 13;

Parameter
Name Description
value int

The enum numeric value on the wire for legendAlign to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setLegendOrient(LegendOrient value)

public DashboardChart.Visualization.Legend.Builder setLegendOrient(LegendOrient value)

.google.cloud.chronicle.v1.LegendOrient legend_orient = 12;

Parameter
Name Description
value LegendOrient

The legendOrient to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setLegendOrientValue(int value)

public DashboardChart.Visualization.Legend.Builder setLegendOrientValue(int value)

.google.cloud.chronicle.v1.LegendOrient legend_orient = 12;

Parameter
Name Description
value int

The enum numeric value on the wire for legendOrient to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setPadding(int index, int value)

public DashboardChart.Visualization.Legend.Builder setPadding(int index, int value)

repeated int32 padding = 11;

Parameters
Name Description
index int

The index to set the value at.

value int

The padding to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setRight(int value)

public DashboardChart.Visualization.Legend.Builder setRight(int value)

int32 right = 7;

Parameter
Name Description
value int

The right to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setShow(boolean value)

public DashboardChart.Visualization.Legend.Builder setShow(boolean value)

bool show = 2;

Parameter
Name Description
value boolean

The show to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setTop(int value)

public DashboardChart.Visualization.Legend.Builder setTop(int value)

int32 top = 6;

Parameter
Name Description
value int

The top to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setZ(int value)

public DashboardChart.Visualization.Legend.Builder setZ(int value)

int32 z = 4;

Parameter
Name Description
value int

The z to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.

setZLevel(int value)

public DashboardChart.Visualization.Legend.Builder setZLevel(int value)

int32 z_level = 3;

Parameter
Name Description
value int

The zLevel to set.

Returns
Type Description
DashboardChart.Visualization.Legend.Builder

This builder for chaining.