Package com.google.cloud.iap.v1
Class CorsSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
com.google.cloud.iap.v1.CorsSettings.Builder
- All Implemented Interfaces:
CorsSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CorsSettings
public static final class CorsSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
implements CorsSettingsOrBuilder
Allows customers to configure HTTP request paths that'll allow HTTP `OPTIONS` call to bypass authentication and authorization.Protobuf type
google.cloud.iap.v1.CorsSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization.com.google.protobuf.BoolValueConfiguration to allow HTTP `OPTIONS` calls to skip authentication and authorization.com.google.protobuf.BoolValue.BuilderConfiguration to allow HTTP `OPTIONS` calls to skip authentication and authorization.com.google.protobuf.BoolValueOrBuilderConfiguration to allow HTTP `OPTIONS` calls to skip authentication and authorization.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanConfiguration to allow HTTP `OPTIONS` calls to skip authentication and authorization.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAllowHttpOptions(com.google.protobuf.BoolValue value) Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization.mergeFrom(CorsSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAllowHttpOptions(com.google.protobuf.BoolValue value) Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization.setAllowHttpOptions(com.google.protobuf.BoolValue.Builder builderForValue) Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CorsSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CorsSettings.Builder>
-
mergeFrom
public CorsSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CorsSettings.Builder>- Throws:
IOException
-
hasAllowHttpOptions
public boolean hasAllowHttpOptions()Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1;- Specified by:
hasAllowHttpOptionsin interfaceCorsSettingsOrBuilder- Returns:
- Whether the allowHttpOptions field is set.
-
getAllowHttpOptions
public com.google.protobuf.BoolValue getAllowHttpOptions()Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1;- Specified by:
getAllowHttpOptionsin interfaceCorsSettingsOrBuilder- Returns:
- The allowHttpOptions.
-
setAllowHttpOptions
Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1; -
setAllowHttpOptions
public CorsSettings.Builder setAllowHttpOptions(com.google.protobuf.BoolValue.Builder builderForValue) Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1; -
mergeAllowHttpOptions
Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1; -
clearAllowHttpOptions
Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1; -
getAllowHttpOptionsBuilder
public com.google.protobuf.BoolValue.Builder getAllowHttpOptionsBuilder()Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1; -
getAllowHttpOptionsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAllowHttpOptionsOrBuilder()Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
.google.protobuf.BoolValue allow_http_options = 1;- Specified by:
getAllowHttpOptionsOrBuilderin interfaceCorsSettingsOrBuilder
-