public static final class Button.Builder extends GeneratedMessage.Builder<Button.Builder> implements ButtonOrBuilderButton config for a chart.
Protobuf type google.cloud.chronicle.v1.Button
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Button.BuilderImplements
ButtonOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Button build()| Returns | |
|---|---|
| Type | Description |
Button |
|
buildPartial()
public Button buildPartial()| Returns | |
|---|---|
| Type | Description |
Button |
|
clear()
public Button.Builder clear()| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
clearDescription()
public Button.Builder clearDescription()string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
clearHyperlink()
public Button.Builder clearHyperlink()string hyperlink = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
clearLabel()
public Button.Builder clearLabel()string label = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
clearNewTab()
public Button.Builder clearNewTab()Optional. Whether to open the link in a new tab.
bool new_tab = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
clearProperties()
public Button.Builder clearProperties()
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
getDefaultInstanceForType()
public Button getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Button |
|
getDescription()
public String getDescription()string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHyperlink()
public String getHyperlink()string hyperlink = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The hyperlink. |
getHyperlinkBytes()
public ByteString getHyperlinkBytes()string hyperlink = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hyperlink. |
getLabel()
public String getLabel()string label = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()string label = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getNewTab()
public boolean getNewTab()Optional. Whether to open the link in a new tab.
bool new_tab = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The newTab. |
getProperties()
public Button.Properties getProperties()
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.Properties |
The properties. |
getPropertiesBuilder()
public Button.Properties.Builder getPropertiesBuilder()
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.Properties.Builder |
|
getPropertiesOrBuilder()
public Button.PropertiesOrBuilder getPropertiesOrBuilder()
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Button.PropertiesOrBuilder |
|
hasProperties()
public boolean hasProperties()
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the properties field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Button other)
public Button.Builder mergeFrom(Button other)| Parameter | |
|---|---|
| Name | Description |
other |
Button |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Button.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Button.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
mergeProperties(Button.Properties value)
public Button.Builder mergeProperties(Button.Properties value)
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Button.Properties |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
setDescription(String value)
public Button.Builder setDescription(String value)string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Button.Builder setDescriptionBytes(ByteString value)string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setHyperlink(String value)
public Button.Builder setHyperlink(String value)string hyperlink = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hyperlink to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setHyperlinkBytes(ByteString value)
public Button.Builder setHyperlinkBytes(ByteString value)string hyperlink = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hyperlink to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setLabel(String value)
public Button.Builder setLabel(String value)string label = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public Button.Builder setLabelBytes(ByteString value)string label = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setNewTab(boolean value)
public Button.Builder setNewTab(boolean value)Optional. Whether to open the link in a new tab.
bool new_tab = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe newTab to set. |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
This builder for chaining. |
setProperties(Button.Properties value)
public Button.Builder setProperties(Button.Properties value)
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Button.Properties |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|
setProperties(Button.Properties.Builder builderForValue)
public Button.Builder setProperties(Button.Properties.Builder builderForValue)
.google.cloud.chronicle.v1.Button.Properties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Button.Properties.Builder |
| Returns | |
|---|---|
| Type | Description |
Button.Builder |
|