public static final class TableDisplayOptions.Builder extends GeneratedMessageV3.Builder<TableDisplayOptions.Builder> implements TableDisplayOptionsOrBuilder
Table display options that can be reused.
Protobuf type google.monitoring.dashboard.v1.TableDisplayOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllShownColumns(Iterable<String> values)
public TableDisplayOptions.Builder addAllShownColumns(Iterable<String> values)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableDisplayOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addShownColumns(String value)
public TableDisplayOptions.Builder addShownColumns(String value)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The shownColumns to add.
|
Returns
addShownColumnsBytes(ByteString value)
public TableDisplayOptions.Builder addShownColumnsBytes(ByteString value)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes of the shownColumns to add.
|
Returns
build()
public TableDisplayOptions build()
Returns
buildPartial()
public TableDisplayOptions buildPartial()
Returns
clear()
public TableDisplayOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TableDisplayOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TableDisplayOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearShownColumns()
public TableDisplayOptions.Builder clearShownColumns()
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public TableDisplayOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TableDisplayOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getShownColumns(int index)
public String getShownColumns(int index)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The shownColumns at the given index.
|
getShownColumnsBytes(int index)
public ByteString getShownColumnsBytes(int index)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the shownColumns at the given index.
|
getShownColumnsCount()
public int getShownColumnsCount()
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of shownColumns.
|
getShownColumnsList()
public ProtocolStringList getShownColumnsList()
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TableDisplayOptions other)
public TableDisplayOptions.Builder mergeFrom(TableDisplayOptions other)
Parameter
Returns
public TableDisplayOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TableDisplayOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableDisplayOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TableDisplayOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableDisplayOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setShownColumns(int index, String value)
public TableDisplayOptions.Builder setShownColumns(int index, String value)
Optional. Columns to display in the table. Leave empty to display all available
columns. Note: This field is for future features and is not currently used.
repeated string shown_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The shownColumns to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TableDisplayOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides