Class ChannelProfile.PersonaProperty.Builder (0.1.0)

public static final class ChannelProfile.PersonaProperty.Builder extends GeneratedMessage.Builder<ChannelProfile.PersonaProperty.Builder> implements ChannelProfile.PersonaPropertyOrBuilder

Represents the persona property of a channel.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearPersona()

public ChannelProfile.PersonaProperty.Builder clearPersona()

Optional. The persona of the channel.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty.Persona persona = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.PersonaProperty.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPersona()

public ChannelProfile.PersonaProperty.Persona getPersona()

Optional. The persona of the channel.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty.Persona persona = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.PersonaProperty.Persona

The persona.

getPersonaValue()

public int getPersonaValue()

Optional. The persona of the channel.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty.Persona persona = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for persona.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelProfile.PersonaProperty other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPersona(ChannelProfile.PersonaProperty.Persona value)

public ChannelProfile.PersonaProperty.Builder setPersona(ChannelProfile.PersonaProperty.Persona value)

Optional. The persona of the channel.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty.Persona persona = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.PersonaProperty.Persona

The persona to set.

Returns
Type Description
ChannelProfile.PersonaProperty.Builder

This builder for chaining.

setPersonaValue(int value)

public ChannelProfile.PersonaProperty.Builder setPersonaValue(int value)

Optional. The persona of the channel.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty.Persona persona = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
ChannelProfile.PersonaProperty.Builder

This builder for chaining.