public static final class ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder extends GeneratedMessage.Builder<ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder> implements ExtensionBinding.MatchCondition.To.Destination.HeaderSetOrBuilder
Describes a set of HTTP headers to match against.
Protobuf type
google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination.HeaderSet
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder addAllHeaders(Iterable<? extends ExtensionBinding.MatchCondition.HeaderMatch> values)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch>
|
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder addHeaders(ExtensionBinding.MatchCondition.HeaderMatch value)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder addHeaders(ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder addHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch value)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder addHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.HeaderMatch.Builder addHeadersBuilder()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.HeaderMatch.Builder addHeadersBuilder(int index)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet build()
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet buildPartial()
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder clear()
Overrides
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder clearHeaders()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExtensionBinding.MatchCondition.HeaderMatch getHeaders(int index)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public ExtensionBinding.MatchCondition.HeaderMatch.Builder getHeadersBuilder(int index)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<ExtensionBinding.MatchCondition.HeaderMatch.Builder> getHeadersBuilderList()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public int getHeadersCount()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<ExtensionBinding.MatchCondition.HeaderMatch> getHeadersList()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.HeaderMatchOrBuilder getHeadersOrBuilder(int index)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ExtensionBinding.MatchCondition.HeaderMatchOrBuilder> getHeadersOrBuilderList()
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatchOrBuilder> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(ExtensionBinding.MatchCondition.To.Destination.HeaderSet other)
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder removeHeaders(int index)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder setHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch value)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder setHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)
Required. A list of headers to match against in http header.
If multiple header matches are provided, they will be evaluated as
an AND, i.e. all header matches must match for the request to
match.
repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];