public static final class InstagramCredentials.Builder extends GeneratedMessage.Builder<InstagramCredentials.Builder> implements InstagramCredentialsOrBuilderEphemeral Meta credentials for Instagram native integration.
Protobuf type google.cloud.ces.v1.InstagramCredentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InstagramCredentials.BuilderImplements
InstagramCredentialsOrBuilderStatic 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 |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InstagramCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstagramCredentials.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for conversationProfileId to set. |
| Returns | |
|---|---|
| Type | Description |
InstagramCredentials.Builder |
This builder for chaining. |