Class DataStore.FederatedSearchConfig.ThirdPartyOauthConfig (0.90.0)

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

Stores information for third party applicationOAuth.

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

Inheritance

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

Static Fields

APP_NAME_FIELD_NUMBER

public static final int APP_NAME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_NAME_FIELD_NUMBER

public static final int INSTANCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig getDefaultInstance()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig

getDescriptor()

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

newBuilder()

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder newBuilder()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

newBuilder(DataStore.FederatedSearchConfig.ThirdPartyOauthConfig prototype)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder newBuilder(DataStore.FederatedSearchConfig.ThirdPartyOauthConfig prototype)
Parameter
Name Description
prototype DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataStore.FederatedSearchConfig.ThirdPartyOauthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataStore.FederatedSearchConfig.ThirdPartyOauthConfig> parser()
Returns
Type Description
Parser<ThirdPartyOauthConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<DataStore.FederatedSearchConfig.ThirdPartyOauthConfig> getParserForType()
Returns
Type Description
Parser<ThirdPartyOauthConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder newBuilderForType()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder
Overrides

toBuilder()

public DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder toBuilder()
Returns
Type Description
DataStore.FederatedSearchConfig.ThirdPartyOauthConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException