public static final class WidgetConfig.AccessSettings extends GeneratedMessage implements WidgetConfig.AccessSettingsOrBuilder
Describes widget access settings.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.AccessSettings
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALLOWLISTED_DOMAINS_FIELD_NUMBER
public static final int ALLOWLISTED_DOMAINS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ALLOW_PUBLIC_ACCESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_WEB_APP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LANGUAGE_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int WORKFORCE_IDENTITY_POOL_PROVIDER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static WidgetConfig.AccessSettings getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static WidgetConfig.AccessSettings.Builder newBuilder()
public static WidgetConfig.AccessSettings.Builder newBuilder(WidgetConfig.AccessSettings prototype)
public static WidgetConfig.AccessSettings parseDelimitedFrom(InputStream input)
public static WidgetConfig.AccessSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AccessSettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static WidgetConfig.AccessSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AccessSettings parseFrom(ByteString data)
public static WidgetConfig.AccessSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AccessSettings parseFrom(CodedInputStream input)
public static WidgetConfig.AccessSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AccessSettings parseFrom(InputStream input)
public static WidgetConfig.AccessSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AccessSettings parseFrom(ByteBuffer data)
public static WidgetConfig.AccessSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<WidgetConfig.AccessSettings> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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;
public WidgetConfig.AccessSettings getDefaultInstanceForType()
public boolean getEnableWebApp()
Whether web app access is enabled.
bool enable_web_app = 3;
| Returns |
| Type |
Description |
boolean |
The enableWebApp.
|
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.
|
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.
|
public Parser<WidgetConfig.AccessSettings> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WidgetConfig.AccessSettings.Builder newBuilderForType()
protected WidgetConfig.AccessSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public WidgetConfig.AccessSettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides