Class ChannelProfile.WebWidgetConfig.Builder (0.1.0)

public static final class ChannelProfile.WebWidgetConfig.Builder extends GeneratedMessage.Builder<ChannelProfile.WebWidgetConfig.Builder> implements ChannelProfile.WebWidgetConfigOrBuilder

Message for configuration for the web widget.

Protobuf type google.cloud.ces.v1.ChannelProfile.WebWidgetConfig

Static Methods

getDescriptor()

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

Methods

build()

public ChannelProfile.WebWidgetConfig build()
Returns
Type Description
ChannelProfile.WebWidgetConfig

buildPartial()

public ChannelProfile.WebWidgetConfig buildPartial()
Returns
Type Description
ChannelProfile.WebWidgetConfig

clear()

public ChannelProfile.WebWidgetConfig.Builder clear()
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder
Overrides

clearModality()

public ChannelProfile.WebWidgetConfig.Builder clearModality()

Optional. The modality of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality modality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

clearSecuritySettings()

public ChannelProfile.WebWidgetConfig.Builder clearSecuritySettings()

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

clearTheme()

public ChannelProfile.WebWidgetConfig.Builder clearTheme()

Optional. The theme of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme theme = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

clearWebWidgetTitle()

public ChannelProfile.WebWidgetConfig.Builder clearWebWidgetTitle()

Optional. The title of the web widget.

string web_widget_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ChannelProfile.WebWidgetConfig getDefaultInstanceForType()
Returns
Type Description
ChannelProfile.WebWidgetConfig

getDescriptorForType()

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

getModality()

public ChannelProfile.WebWidgetConfig.Modality getModality()

Optional. The modality of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality modality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Modality

The modality.

getModalityValue()

public int getModalityValue()

Optional. The modality of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality modality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for modality.

getSecuritySettings()

public ChannelProfile.WebWidgetConfig.SecuritySettings getSecuritySettings()

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.SecuritySettings

The securitySettings.

getSecuritySettingsBuilder()

public ChannelProfile.WebWidgetConfig.SecuritySettings.Builder getSecuritySettingsBuilder()

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.SecuritySettings.Builder

getSecuritySettingsOrBuilder()

public ChannelProfile.WebWidgetConfig.SecuritySettingsOrBuilder getSecuritySettingsOrBuilder()

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.SecuritySettingsOrBuilder

getTheme()

public ChannelProfile.WebWidgetConfig.Theme getTheme()

Optional. The theme of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme theme = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Theme

The theme.

getThemeValue()

public int getThemeValue()

Optional. The theme of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme theme = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for theme.

getWebWidgetTitle()

public String getWebWidgetTitle()

Optional. The title of the web widget.

string web_widget_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The webWidgetTitle.

getWebWidgetTitleBytes()

public ByteString getWebWidgetTitleBytes()

Optional. The title of the web widget.

string web_widget_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for webWidgetTitle.

hasSecuritySettings()

public boolean hasSecuritySettings()

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the securitySettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelProfile.WebWidgetConfig other)

public ChannelProfile.WebWidgetConfig.Builder mergeFrom(ChannelProfile.WebWidgetConfig other)
Parameter
Name Description
other ChannelProfile.WebWidgetConfig
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ChannelProfile.WebWidgetConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder
Overrides

mergeSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings value)

public ChannelProfile.WebWidgetConfig.Builder mergeSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings value)

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig.SecuritySettings
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

setModality(ChannelProfile.WebWidgetConfig.Modality value)

public ChannelProfile.WebWidgetConfig.Builder setModality(ChannelProfile.WebWidgetConfig.Modality value)

Optional. The modality of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality modality = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig.Modality

The modality to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

setModalityValue(int value)

public ChannelProfile.WebWidgetConfig.Builder setModalityValue(int value)

Optional. The modality of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality modality = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for modality to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

setSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings value)

public ChannelProfile.WebWidgetConfig.Builder setSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings value)

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig.SecuritySettings
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

setSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings.Builder builderForValue)

public ChannelProfile.WebWidgetConfig.Builder setSecuritySettings(ChannelProfile.WebWidgetConfig.SecuritySettings.Builder builderForValue)

Optional. The security settings of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings security_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ChannelProfile.WebWidgetConfig.SecuritySettings.Builder
Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

setTheme(ChannelProfile.WebWidgetConfig.Theme value)

public ChannelProfile.WebWidgetConfig.Builder setTheme(ChannelProfile.WebWidgetConfig.Theme value)

Optional. The theme of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme theme = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig.Theme

The theme to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

setThemeValue(int value)

public ChannelProfile.WebWidgetConfig.Builder setThemeValue(int value)

Optional. The theme of the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme theme = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for theme to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

setWebWidgetTitle(String value)

public ChannelProfile.WebWidgetConfig.Builder setWebWidgetTitle(String value)

Optional. The title of the web widget.

string web_widget_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The webWidgetTitle to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.

setWebWidgetTitleBytes(ByteString value)

public ChannelProfile.WebWidgetConfig.Builder setWebWidgetTitleBytes(ByteString value)

Optional. The title of the web widget.

string web_widget_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for webWidgetTitle to set.

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

This builder for chaining.