Class Button.Properties.Builder (0.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Button.Properties.Builder extends GeneratedMessage.Builder<Button.Properties.Builder> implements Button.PropertiesOrBuilder
Protobuf type google.cloud.chronicle.v1.Button.Properties
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Button.Properties build()
public Button.Properties buildPartial()
public Button.Properties.Builder clear()
Overrides
public Button.Properties.Builder clearButtonStyle()
.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];
public Button.Properties.Builder clearColor()
string color = 1 [(.google.api.field_behavior) = OPTIONAL];
public ButtonStyle getButtonStyle()
.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];
public int getButtonStyleValue()
.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for buttonStyle.
|
string color = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The color.
|
public ByteString getColorBytes()
string color = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for color.
|
public Button.Properties getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Button.Properties.Builder mergeFrom(Button.Properties other)
public Button.Properties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Button.Properties.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public Button.Properties.Builder setButtonStyle(ButtonStyle value)
.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ButtonStyle
The buttonStyle to set.
|
public Button.Properties.Builder setButtonStyleValue(int value)
.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for buttonStyle to set.
|
public Button.Properties.Builder setColor(String value)
string color = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The color to set.
|
public Button.Properties.Builder setColorBytes(ByteString value)
string color = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for color to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]