Class DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder (0.90.0)

public static final class DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder extends GeneratedMessage.Builder<DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder> implements DataStore.FederatedSearchConfig.ThirdPartyOauthConfigOrBuilder

Stores information for third party applicationOAuth.

Protobuf type google.cloud.discoveryengine.v1beta.DataStore.FederatedSearchConfig.ThirdPartyOauthConfig

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

Static Methods

getDescriptor()

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

Methods

build()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig build()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig

buildPartial()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig buildPartial()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig

clear()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder clear()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder
Overrides

clearAppName()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder clearAppName()

Optional. The type of the application. E.g., "jira", "box", etc.

string app_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.

clearInstanceName()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder clearInstanceName()

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".

string instance_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.

getAppName()

public String getAppName()

Optional. The type of the application. E.g., "jira", "box", etc.

string app_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The appName.

getAppNameBytes()

public ByteString getAppNameBytes()

Optional. The type of the application. E.g., "jira", "box", etc.

string app_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for appName.

getDefaultInstanceForType()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig getDefaultInstanceForType()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig

getDescriptorForType()

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

getInstanceName()

public String getInstanceName()

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".

string instance_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The instanceName.

getInstanceNameBytes()

public ByteString getInstanceNameBytes()

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".

string instance_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for instanceName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStore.FederatedSearchConfig.ThirdPartyOauthConfig other)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder mergeFrom(DataStore.FederatedSearchConfig.ThirdPartyOauthConfig other)
Parameter
Name Description
other DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder
Overrides

setAppName(String value)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder setAppName(String value)

Optional. The type of the application. E.g., "jira", "box", etc.

string app_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The appName to set.

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.

setAppNameBytes(ByteString value)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder setAppNameBytes(ByteString value)

Optional. The type of the application. E.g., "jira", "box", etc.

string app_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for appName to set.

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.

setInstanceName(String value)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder setInstanceName(String value)

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".

string instance_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The instanceName to set.

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.

setInstanceNameBytes(ByteString value)

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder setInstanceNameBytes(ByteString value)

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".

string instance_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for instanceName to set.

Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

This builder for chaining.