Class WidgetConfig.AccessSettings (0.99.0)

public static final class WidgetConfig.AccessSettings extends GeneratedMessage implements WidgetConfig.AccessSettingsOrBuilder

Describes widget access settings.

Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings

Static Fields

ALLOWLISTED_DOMAINS_FIELD_NUMBER

public static final int ALLOWLISTED_DOMAINS_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_PUBLIC_ACCESS_FIELD_NUMBER

public static final int ALLOW_PUBLIC_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_WEB_APP_FIELD_NUMBER

public static final int ENABLE_WEB_APP_FIELD_NUMBER
Field Value
Type Description
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type Description
int

WORKFORCE_IDENTITY_POOL_PROVIDER_FIELD_NUMBER

public static final int WORKFORCE_IDENTITY_POOL_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WidgetConfig.AccessSettings getDefaultInstance()
Returns
Type Description
WidgetConfig.AccessSettings

getDescriptor()

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

newBuilder()

public static WidgetConfig.AccessSettings.Builder newBuilder()
Returns
Type Description
WidgetConfig.AccessSettings.Builder

newBuilder(WidgetConfig.AccessSettings prototype)

public static WidgetConfig.AccessSettings.Builder newBuilder(WidgetConfig.AccessSettings prototype)
Parameter
Name Description
prototype WidgetConfig.AccessSettings
Returns
Type Description
WidgetConfig.AccessSettings.Builder

parseDelimitedFrom(InputStream input)

public static WidgetConfig.AccessSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.AccessSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WidgetConfig.AccessSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static WidgetConfig.AccessSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.AccessSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WidgetConfig.AccessSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.AccessSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WidgetConfig.AccessSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.AccessSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WidgetConfig.AccessSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WidgetConfig.AccessSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetConfig.AccessSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WidgetConfig.AccessSettings> parser()
Returns
Type Description
Parser<AccessSettings>

Methods

equals(Object obj)

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

getAllowPublicAccess()

public boolean getAllowPublicAccess()

Whether public unauthenticated access is allowed.

bool allow_public_access = 1;

Returns
Type Description
boolean

The allowPublicAccess.

getAllowlistedDomains(int index)

public String getAllowlistedDomains(int index)

List of domains that are allowed to integrate the search widget.

repeated string allowlisted_domains = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowlistedDomains at the given index.

getAllowlistedDomainsBytes(int index)

public ByteString getAllowlistedDomainsBytes(int index)

List of domains that are allowed to integrate the search widget.

repeated string allowlisted_domains = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowlistedDomains at the given index.

getAllowlistedDomainsCount()

public int getAllowlistedDomainsCount()

List of domains that are allowed to integrate the search widget.

repeated string allowlisted_domains = 2;

Returns
Type Description
int

The count of allowlistedDomains.

getAllowlistedDomainsList()

public ProtocolStringList getAllowlistedDomainsList()

List of domains that are allowed to integrate the search widget.

repeated string allowlisted_domains = 2;

Returns
Type Description
ProtocolStringList

A list containing the allowlistedDomains.

getDefaultInstanceForType()

public WidgetConfig.AccessSettings getDefaultInstanceForType()
Returns
Type Description
WidgetConfig.AccessSettings

getEnableWebApp()

public boolean getEnableWebApp()

Whether web app access is enabled.

bool enable_web_app = 3;

Returns
Type Description
boolean

The enableWebApp.

getLanguageCode()

public String getLanguageCode()

Optional. Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".

string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Optional. Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".

string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getParserForType()

public Parser<WidgetConfig.AccessSettings> getParserForType()
Returns
Type Description
Parser<AccessSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWorkforceIdentityPoolProvider()

public String getWorkforceIdentityPoolProvider()

Optional. The workforce identity pool provider used to access the widget.

string workforce_identity_pool_provider = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The workforceIdentityPoolProvider.

getWorkforceIdentityPoolProviderBytes()

public ByteString getWorkforceIdentityPoolProviderBytes()

Optional. The workforce identity pool provider used to access the widget.

string workforce_identity_pool_provider = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for workforceIdentityPoolProvider.

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 WidgetConfig.AccessSettings.Builder newBuilderForType()
Returns
Type Description
WidgetConfig.AccessSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WidgetConfig.AccessSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WidgetConfig.AccessSettings.Builder
Overrides

toBuilder()

public WidgetConfig.AccessSettings.Builder toBuilder()
Returns
Type Description
WidgetConfig.AccessSettings.Builder

writeTo(CodedOutputStream output)

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