Class ChannelProfile.InstagramConfig.Builder (0.11.0)

public static final class ChannelProfile.InstagramConfig.Builder extends GeneratedMessage.Builder<ChannelProfile.InstagramConfig.Builder> implements ChannelProfile.InstagramConfigOrBuilder

Configuration specific to Instagram deployments.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearDescription()

public ChannelProfile.InstagramConfig.Builder clearDescription()

Output only. The description of the Meta business page or profile.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

clearDisplayName()

public ChannelProfile.InstagramConfig.Builder clearDisplayName()

Output only. The fetched Meta business page name.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

clearInstagramAccountId()

public ChannelProfile.InstagramConfig.Builder clearInstagramAccountId()

Required. The Instagram Account ID.

string instagram_account_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

clearThumbnailUrl()

public ChannelProfile.InstagramConfig.Builder clearThumbnailUrl()

Output only. The fetched Meta business profile thumbnail URL.

string thumbnail_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

Output only. The description of the Meta business page or profile.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the Meta business page or profile.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. The fetched Meta business page name.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The fetched Meta business page name.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getInstagramAccountId()

public String getInstagramAccountId()

Required. The Instagram Account ID.

string instagram_account_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instagramAccountId.

getInstagramAccountIdBytes()

public ByteString getInstagramAccountIdBytes()

Required. The Instagram Account ID.

string instagram_account_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instagramAccountId.

getThumbnailUrl()

public String getThumbnailUrl()

Output only. The fetched Meta business profile thumbnail URL.

string thumbnail_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The thumbnailUrl.

getThumbnailUrlBytes()

public ByteString getThumbnailUrlBytes()

Output only. The fetched Meta business profile thumbnail URL.

string thumbnail_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for thumbnailUrl.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelProfile.InstagramConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDescription(String value)

public ChannelProfile.InstagramConfig.Builder setDescription(String value)

Output only. The description of the Meta business page or profile.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ChannelProfile.InstagramConfig.Builder setDescriptionBytes(ByteString value)

Output only. The description of the Meta business page or profile.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setDisplayName(String value)

public ChannelProfile.InstagramConfig.Builder setDisplayName(String value)

Output only. The fetched Meta business page name.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ChannelProfile.InstagramConfig.Builder setDisplayNameBytes(ByteString value)

Output only. The fetched Meta business page name.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setInstagramAccountId(String value)

public ChannelProfile.InstagramConfig.Builder setInstagramAccountId(String value)

Required. The Instagram Account ID.

string instagram_account_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instagramAccountId to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setInstagramAccountIdBytes(ByteString value)

public ChannelProfile.InstagramConfig.Builder setInstagramAccountIdBytes(ByteString value)

Required. The Instagram Account ID.

string instagram_account_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instagramAccountId to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setThumbnailUrl(String value)

public ChannelProfile.InstagramConfig.Builder setThumbnailUrl(String value)

Output only. The fetched Meta business profile thumbnail URL.

string thumbnail_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The thumbnailUrl to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.

setThumbnailUrlBytes(ByteString value)

public ChannelProfile.InstagramConfig.Builder setThumbnailUrlBytes(ByteString value)

Output only. The fetched Meta business profile thumbnail URL.

string thumbnail_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for thumbnailUrl to set.

Returns
Type Description
ChannelProfile.InstagramConfig.Builder

This builder for chaining.