Class InstagramCredentials.Builder (0.11.0)

public static final class InstagramCredentials.Builder extends GeneratedMessage.Builder<InstagramCredentials.Builder> implements InstagramCredentialsOrBuilder

Ephemeral Meta credentials for Instagram native integration.

Protobuf type google.cloud.ces.v1beta.InstagramCredentials

Static Methods

getDescriptor()

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

Methods

build()

public InstagramCredentials build()
Returns
Type Description
InstagramCredentials

buildPartial()

public InstagramCredentials buildPartial()
Returns
Type Description
InstagramCredentials

clear()

public InstagramCredentials.Builder clear()
Returns
Type Description
InstagramCredentials.Builder
Overrides

clearAuthCode()

public InstagramCredentials.Builder clearAuthCode()

Required. The Meta auth code provided by the embedded signup flow.

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

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.

clearConversationProfileId()

public InstagramCredentials.Builder clearConversationProfileId()

Required. The Conversation Profile ID to use for the deployment.

string conversation_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.

getAuthCode()

public String getAuthCode()

Required. The Meta auth code provided by the embedded signup flow.

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

Returns
Type Description
String

The authCode.

getAuthCodeBytes()

public ByteString getAuthCodeBytes()

Required. The Meta auth code provided by the embedded signup flow.

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

Returns
Type Description
ByteString

The bytes for authCode.

getConversationProfileId()

public String getConversationProfileId()

Required. The Conversation Profile ID to use for the deployment.

string conversation_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The conversationProfileId.

getConversationProfileIdBytes()

public ByteString getConversationProfileIdBytes()

Required. The Conversation Profile ID to use for the deployment.

string conversation_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for conversationProfileId.

getDefaultInstanceForType()

public InstagramCredentials getDefaultInstanceForType()
Returns
Type Description
InstagramCredentials

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(InstagramCredentials other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAuthCode(String value)

public InstagramCredentials.Builder setAuthCode(String value)

Required. The Meta auth code provided by the embedded signup flow.

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

Parameter
Name Description
value String

The authCode to set.

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.

setAuthCodeBytes(ByteString value)

public InstagramCredentials.Builder setAuthCodeBytes(ByteString value)

Required. The Meta auth code provided by the embedded signup flow.

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

Parameter
Name Description
value ByteString

The bytes for authCode to set.

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.

setConversationProfileId(String value)

public InstagramCredentials.Builder setConversationProfileId(String value)

Required. The Conversation Profile ID to use for the deployment.

string conversation_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The conversationProfileId to set.

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.

setConversationProfileIdBytes(ByteString value)

public InstagramCredentials.Builder setConversationProfileIdBytes(ByteString value)

Required. The Conversation Profile ID to use for the deployment.

string conversation_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for conversationProfileId to set.

Returns
Type Description
InstagramCredentials.Builder

This builder for chaining.