public static final class CollapseControl.Builder extends GeneratedMessageV3.Builder<CollapseControl.Builder> implements CollapseControlOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CollapseControl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CollapseControl build()
buildPartial()
public CollapseControl buildPartial()
clear()
public CollapseControl.Builder clear()
Overrides
public CollapseControl.Builder clearCollapseButton()
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
public CollapseControl.Builder clearExpandButton()
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
clearField(Descriptors.FieldDescriptor field)
public CollapseControl.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHorizontalAlignment()
public CollapseControl.Builder clearHorizontalAlignment()
The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public CollapseControl.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CollapseControl.Builder clone()
Overrides
public Button getCollapseButton()
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
| Returns |
| Type |
Description |
Button |
The collapseButton.
|
public Button.Builder getCollapseButtonBuilder()
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
public ButtonOrBuilder getCollapseButtonOrBuilder()
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
getDefaultInstanceForType()
public CollapseControl getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Button getExpandButton()
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
| Returns |
| Type |
Description |
Button |
The expandButton.
|
public Button.Builder getExpandButtonBuilder()
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
public ButtonOrBuilder getExpandButtonOrBuilder()
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
getHorizontalAlignment()
public Widget.HorizontalAlignment getHorizontalAlignment()
The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
getHorizontalAlignmentValue()
public int getHorizontalAlignmentValue()
The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for horizontalAlignment.
|
public boolean hasCollapseButton()
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
| Returns |
| Type |
Description |
boolean |
Whether the collapseButton field is set.
|
public boolean hasExpandButton()
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
| Returns |
| Type |
Description |
boolean |
Whether the expandButton field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public CollapseControl.Builder mergeCollapseButton(Button value)
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
| Parameter |
| Name |
Description |
value |
Button
|
public CollapseControl.Builder mergeExpandButton(Button value)
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
| Parameter |
| Name |
Description |
value |
Button
|
mergeFrom(CollapseControl other)
public CollapseControl.Builder mergeFrom(CollapseControl other)
public CollapseControl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CollapseControl.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CollapseControl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CollapseControl.Builder setCollapseButton(Button value)
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
| Parameter |
| Name |
Description |
value |
Button
|
public CollapseControl.Builder setCollapseButton(Button.Builder builderForValue)
Optional. Define a customizable button to collapse the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button collapse_button = 3;
public CollapseControl.Builder setExpandButton(Button value)
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
| Parameter |
| Name |
Description |
value |
Button
|
public CollapseControl.Builder setExpandButton(Button.Builder builderForValue)
Optional. Define a customizable button to expand the section.
Both expand_button and collapse_button field must be set. Only one
field set will not take into effect.
If this field isn't set, the default button is used.
.google.apps.card.v1.Button expand_button = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public CollapseControl.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CollapseControl.Builder setHorizontalAlignment(Widget.HorizontalAlignment value)
The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
setHorizontalAlignmentValue(int value)
public CollapseControl.Builder setHorizontalAlignmentValue(int value)
The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for horizontalAlignment to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CollapseControl.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CollapseControl.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides