public interface CollapseControlOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCollapseButton()
public abstract 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. |
getCollapseButtonOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
ButtonOrBuilder |
|
getExpandButton()
public abstract 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. |
getExpandButtonOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
ButtonOrBuilder |
|
getHorizontalAlignment()
public abstract Widget.HorizontalAlignment getHorizontalAlignment()The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;
| Returns | |
|---|---|
| Type | Description |
Widget.HorizontalAlignment |
The horizontalAlignment. |
getHorizontalAlignmentValue()
public abstract 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. |
hasCollapseButton()
public abstract 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. |
hasExpandButton()
public abstract 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. |