Class Button.Properties.Builder (0.31.0)

public static final class Button.Properties.Builder extends GeneratedMessage.Builder<Button.Properties.Builder> implements Button.PropertiesOrBuilder

Protobuf type google.cloud.chronicle.v1.Button.Properties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Button.Properties build()
Returns
Type Description
Button.Properties

buildPartial()

public Button.Properties buildPartial()
Returns
Type Description
Button.Properties

clear()

public Button.Properties.Builder clear()
Returns
Type Description
Button.Properties.Builder
Overrides

clearButtonStyle()

public Button.Properties.Builder clearButtonStyle()

.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Button.Properties.Builder

This builder for chaining.

clearColor()

public Button.Properties.Builder clearColor()

string color = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Button.Properties.Builder

This builder for chaining.

getButtonStyle()

public ButtonStyle getButtonStyle()

.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ButtonStyle

The buttonStyle.

getButtonStyleValue()

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.

getColor()

public String getColor()

string color = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The color.

getColorBytes()

public ByteString getColorBytes()

string color = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for color.

getDefaultInstanceForType()

public Button.Properties getDefaultInstanceForType()
Returns
Type Description
Button.Properties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Button.Properties other)

public Button.Properties.Builder mergeFrom(Button.Properties other)
Parameter
Name Description
other Button.Properties
Returns
Type Description
Button.Properties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Button.Properties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Button.Properties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Button.Properties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Button.Properties.Builder
Overrides

setButtonStyle(ButtonStyle value)

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.

Returns
Type Description
Button.Properties.Builder

This builder for chaining.

setButtonStyleValue(int value)

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.

Returns
Type Description
Button.Properties.Builder

This builder for chaining.

setColor(String value)

public Button.Properties.Builder setColor(String value)

string color = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The color to set.

Returns
Type Description
Button.Properties.Builder

This builder for chaining.

setColorBytes(ByteString value)

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.

Returns
Type Description
Button.Properties.Builder

This builder for chaining.