Class AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder>
com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder
- All Implemented Interfaces:
AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet
public static final class AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder>
implements AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
Describes a set of HTTP headers to match against.Protobuf type
google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends AuthzPolicy.AuthzRule.HeaderMatch> values) Required.addHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch value) Required.addHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required.Required.addHeaders(AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required.Required.addHeadersBuilder(int index) Required.build()clear()Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeaders(int index) Required.getHeadersBuilder(int index) Required.Required.intRequired.Required.getHeadersOrBuilder(int index) Required.List<? extends AuthzPolicy.AuthzRule.HeaderMatchOrBuilder>Required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHeaders(int index) Required.setHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch value) Required.setHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required.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<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.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<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.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<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.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
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder>
-
mergeFrom
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.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<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder>- Throws:
IOException
-
getHeadersList
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeadersListin interfaceAuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
-
getHeadersCount
public int getHeadersCount()Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeadersCountin interfaceAuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
-
getHeaders
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeadersin interfaceAuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
-
setHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder setHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch value) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
setHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder setHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder addHeaders(AuthzPolicy.AuthzRule.HeaderMatch value) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder addHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch value) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder addHeaders(AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder addHeaders(int index, AuthzPolicy.AuthzRule.HeaderMatch.Builder builderForValue) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addAllHeaders
public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder addAllHeaders(Iterable<? extends AuthzPolicy.AuthzRule.HeaderMatch> values) Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearHeaders
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
removeHeaders
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
getHeadersBuilder
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
getHeadersOrBuilder
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeadersOrBuilderin interfaceAuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
-
getHeadersOrBuilderList
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeadersOrBuilderListin interfaceAuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
-
addHeadersBuilder
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
addHeadersBuilder
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED]; -
getHeadersBuilderList
Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
-