public static final class ChannelProfile.WebWidgetConfig.SecuritySettings extends GeneratedMessage implements ChannelProfile.WebWidgetConfig.SecuritySettingsOrBuilder
Security settings for the web widget.
Protobuf type google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings
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
public static final int ALLOWED_ORIGINS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_ORIGIN_CHECK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_PUBLIC_ACCESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_RECAPTCHA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static ChannelProfile.WebWidgetConfig.SecuritySettings getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ChannelProfile.WebWidgetConfig.SecuritySettings.Builder newBuilder()
public static ChannelProfile.WebWidgetConfig.SecuritySettings.Builder newBuilder(ChannelProfile.WebWidgetConfig.SecuritySettings prototype)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseDelimitedFrom(InputStream input)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(ByteString data)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(CodedInputStream input)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(InputStream input)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(ByteBuffer data)
public static ChannelProfile.WebWidgetConfig.SecuritySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ChannelProfile.WebWidgetConfig.SecuritySettings> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getAllowedOrigins(int index)
Optional. The origins that are allowed to host the web widget. An
origin is defined by RFC 6454. If empty, all origins are allowed. A
maximum of 100 origins is allowed. Example: "https://example.com"
repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The allowedOrigins at the given index.
|
public ByteString getAllowedOriginsBytes(int index)
Optional. The origins that are allowed to host the web widget. An
origin is defined by RFC 6454. If empty, all origins are allowed. A
maximum of 100 origins is allowed. Example: "https://example.com"
repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the allowedOrigins at the given index.
|
public int getAllowedOriginsCount()
Optional. The origins that are allowed to host the web widget. An
origin is defined by RFC 6454. If empty, all origins are allowed. A
maximum of 100 origins is allowed. Example: "https://example.com"
repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of allowedOrigins.
|
public ProtocolStringList getAllowedOriginsList()
Optional. The origins that are allowed to host the web widget. An
origin is defined by RFC 6454. If empty, all origins are allowed. A
maximum of 100 origins is allowed. Example: "https://example.com"
repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL];
public ChannelProfile.WebWidgetConfig.SecuritySettings getDefaultInstanceForType()
public boolean getEnableOriginCheck()
Optional. Indicates whether origin check for the web widget is enabled.
If true, the web widget will check the origin of the website that
loads the web widget and only allow it to be loaded in the same origin
or any of the allowed origins.
bool enable_origin_check = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableOriginCheck.
|
public boolean getEnablePublicAccess()
Optional. Indicates whether public access to the web widget is enabled.
If true, the web widget will be publicly accessible.
If false, the web widget must be integrated with your own
authentication and authorization system to return valid credentials for
accessing the CES agent.
bool enable_public_access = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enablePublicAccess.
|
public boolean getEnableRecaptcha()
Optional. Indicates whether reCAPTCHA verification for the web widget
is enabled.
bool enable_recaptcha = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableRecaptcha.
|
public Parser<ChannelProfile.WebWidgetConfig.SecuritySettings> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ChannelProfile.WebWidgetConfig.SecuritySettings.Builder newBuilderForType()
protected ChannelProfile.WebWidgetConfig.SecuritySettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public ChannelProfile.WebWidgetConfig.SecuritySettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides