Class CollapsibleGroup.Builder (2.5.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CollapsibleGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

build()

public CollapsibleGroup build()
Returns
TypeDescription
CollapsibleGroup

buildPartial()

public CollapsibleGroup buildPartial()
Returns
TypeDescription
CollapsibleGroup

clear()

public CollapsibleGroup.Builder clear()
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

clearCollapsed()

public CollapsibleGroup.Builder clearCollapsed()

The collapsed state of the widget on first page load.

bool collapsed = 1;

Returns
TypeDescription
CollapsibleGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CollapsibleGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CollapsibleGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

clone()

public CollapsibleGroup.Builder clone()
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

getCollapsed()

public boolean getCollapsed()

The collapsed state of the widget on first page load.

bool collapsed = 1;

Returns
TypeDescription
boolean

The collapsed.

getDefaultInstanceForType()

public CollapsibleGroup getDefaultInstanceForType()
Returns
TypeDescription
CollapsibleGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CollapsibleGroup other)

public CollapsibleGroup.Builder mergeFrom(CollapsibleGroup other)
Parameter
NameDescription
otherCollapsibleGroup
Returns
TypeDescription
CollapsibleGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CollapsibleGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CollapsibleGroup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CollapsibleGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The collapsed to set.

Returns
TypeDescription
CollapsibleGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CollapsibleGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

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

public CollapsibleGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CollapsibleGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CollapsibleGroup.Builder
Overrides