public static final class ProtectedEndpointGroup.Builder extends GeneratedMessage.Builder<ProtectedEndpointGroup.Builder> implements ProtectedEndpointGroupOrBuilder
Configuration for API endpoints to protect with reCAPTCHA.
Protobuf type google.cloud.recaptchaenterprise.v1.ProtectedEndpointGroup
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllProtectedEndpoints(Iterable<? extends ProtectedEndpoint> values)
public ProtectedEndpointGroup.Builder addAllProtectedEndpoints(Iterable<? extends ProtectedEndpoint> values)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.recaptchaenterprise.v1.ProtectedEndpoint>
|
addProtectedEndpoints(ProtectedEndpoint value)
public ProtectedEndpointGroup.Builder addProtectedEndpoints(ProtectedEndpoint value)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
addProtectedEndpoints(ProtectedEndpoint.Builder builderForValue)
public ProtectedEndpointGroup.Builder addProtectedEndpoints(ProtectedEndpoint.Builder builderForValue)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
addProtectedEndpoints(int index, ProtectedEndpoint value)
public ProtectedEndpointGroup.Builder addProtectedEndpoints(int index, ProtectedEndpoint value)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
addProtectedEndpoints(int index, ProtectedEndpoint.Builder builderForValue)
public ProtectedEndpointGroup.Builder addProtectedEndpoints(int index, ProtectedEndpoint.Builder builderForValue)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
addProtectedEndpointsBuilder()
public ProtectedEndpoint.Builder addProtectedEndpointsBuilder()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
addProtectedEndpointsBuilder(int index)
public ProtectedEndpoint.Builder addProtectedEndpointsBuilder(int index)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
build()
public ProtectedEndpointGroup build()
buildPartial()
public ProtectedEndpointGroup buildPartial()
clear()
public ProtectedEndpointGroup.Builder clear()
Overrides
clearProtectedEndpoints()
public ProtectedEndpointGroup.Builder clearProtectedEndpoints()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ProtectedEndpointGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProtectedEndpoints(int index)
public ProtectedEndpoint getProtectedEndpoints(int index)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getProtectedEndpointsBuilder(int index)
public ProtectedEndpoint.Builder getProtectedEndpointsBuilder(int index)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getProtectedEndpointsBuilderList()
public List<ProtectedEndpoint.Builder> getProtectedEndpointsBuilderList()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
getProtectedEndpointsCount()
public int getProtectedEndpointsCount()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getProtectedEndpointsList()
public List<ProtectedEndpoint> getProtectedEndpointsList()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
getProtectedEndpointsOrBuilder(int index)
public ProtectedEndpointOrBuilder getProtectedEndpointsOrBuilder(int index)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getProtectedEndpointsOrBuilderList()
public List<? extends ProtectedEndpointOrBuilder> getProtectedEndpointsOrBuilderList()
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.recaptchaenterprise.v1.ProtectedEndpointOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ProtectedEndpointGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProtectedEndpointGroup.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(ProtectedEndpointGroup other)
public ProtectedEndpointGroup.Builder mergeFrom(ProtectedEndpointGroup other)
removeProtectedEndpoints(int index)
public ProtectedEndpointGroup.Builder removeProtectedEndpoints(int index)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setProtectedEndpoints(int index, ProtectedEndpoint value)
public ProtectedEndpointGroup.Builder setProtectedEndpoints(int index, ProtectedEndpoint value)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
setProtectedEndpoints(int index, ProtectedEndpoint.Builder builderForValue)
public ProtectedEndpointGroup.Builder setProtectedEndpoints(int index, ProtectedEndpoint.Builder builderForValue)
Optional. List of API endpoints to automatically protect with reCAPTCHA. If
any of these endpoints is invoked from a page where a key bound to this
policy is installed, a reCAPTCHA token is automatically generated and
attached to the request. If multiple protected endpoints match a given API
endpoint, the first one in the list is used.
repeated .google.cloud.recaptchaenterprise.v1.ProtectedEndpoint protected_endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];