Class CollapsibleGroup.Builder (2.56.0)

public static final class CollapsibleGroup.Builder extends GeneratedMessageV3.Builder<CollapsibleGroup.Builder> implements CollapsibleGroupOrBuilder

A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.

Protobuf type google.monitoring.dashboard.v1.CollapsibleGroup

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CollapsibleGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CollapsibleGroup.Builder
Overrides

build()

public CollapsibleGroup build()
Returns
Type Description
CollapsibleGroup

buildPartial()

public CollapsibleGroup buildPartial()
Returns
Type Description
CollapsibleGroup

clear()

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

clearCollapsed()

public CollapsibleGroup.Builder clearCollapsed()

The collapsed state of the widget on first page load.

bool collapsed = 1;

Returns
Type Description
CollapsibleGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CollapsibleGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CollapsibleGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CollapsibleGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CollapsibleGroup.Builder
Overrides

clone()

public CollapsibleGroup.Builder clone()
Returns
Type Description
CollapsibleGroup.Builder
Overrides

getCollapsed()

public boolean getCollapsed()

The collapsed state of the widget on first page load.

bool collapsed = 1;

Returns
Type Description
boolean

The collapsed.

getDefaultInstanceForType()

public CollapsibleGroup getDefaultInstanceForType()
Returns
Type Description
CollapsibleGroup

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CollapsibleGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CollapsibleGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CollapsibleGroup.Builder
Overrides

setCollapsed(boolean value)

public CollapsibleGroup.Builder setCollapsed(boolean value)

The collapsed state of the widget on first page load.

bool collapsed = 1;

Parameter
Name Description
value boolean

The collapsed to set.

Returns
Type Description
CollapsibleGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CollapsibleGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CollapsibleGroup.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CollapsibleGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CollapsibleGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CollapsibleGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CollapsibleGroup.Builder
Overrides