Package com.google.apps.card.v1
Interface CollapseControlOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CollapseControl,CollapseControl.Builder
@Generated
public interface CollapseControlOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.The horizontal alignment of the expand and collapse button.intThe horizontal alignment of the expand and collapse button.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHorizontalAlignmentValue
int getHorizontalAlignmentValue()The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;- Returns:
- The enum numeric value on the wire for horizontalAlignment.
-
getHorizontalAlignment
Widget.HorizontalAlignment getHorizontalAlignment()The horizontal alignment of the expand and collapse button.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 1;- Returns:
- The horizontalAlignment.
-
hasExpandButton
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:
- Whether the expandButton field is set.
-
getExpandButton
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:
- The expandButton.
-
getExpandButtonOrBuilder
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; -
hasCollapseButton
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:
- Whether the collapseButton field is set.
-
getCollapseButton
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:
- The collapseButton.
-
getCollapseButtonOrBuilder
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;
-