Class ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder (0.55.0)

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

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllHeaders(Iterable<? extends ExtensionBinding.MatchCondition.HeaderMatch> values)

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>
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

addHeaders(ExtensionBinding.MatchCondition.HeaderMatch value)

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];

Parameter
Name Description
value ExtensionBinding.MatchCondition.HeaderMatch
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

addHeaders(ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ExtensionBinding.MatchCondition.HeaderMatch.Builder
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

addHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch value)

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];

Parameters
Name Description
index int
value ExtensionBinding.MatchCondition.HeaderMatch
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

addHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ExtensionBinding.MatchCondition.HeaderMatch.Builder
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

addHeadersBuilder()

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];

Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatch.Builder

addHeadersBuilder(int index)

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
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatch.Builder

build()

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet build()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet

buildPartial()

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet buildPartial()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet

clear()

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder clear()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder
Overrides

clearHeaders()

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];

Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

getDefaultInstanceForType()

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet getDefaultInstanceForType()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHeaders(int index)

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
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatch

getHeadersBuilder(int index)

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
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatch.Builder

getHeadersBuilderList()

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];

Returns
Type Description
List<Builder>

getHeadersCount()

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

getHeadersList()

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];

Returns
Type Description
List<HeaderMatch>

getHeadersOrBuilder(int index)

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
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatchOrBuilder

getHeadersOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExtensionBinding.MatchCondition.To.Destination.HeaderSet other)

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(ExtensionBinding.MatchCondition.To.Destination.HeaderSet other)
Parameter
Name Description
other ExtensionBinding.MatchCondition.To.Destination.HeaderSet
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder
Overrides

removeHeaders(int index)

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
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

setHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch value)

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];

Parameters
Name Description
index int
value ExtensionBinding.MatchCondition.HeaderMatch
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder

setHeaders(int index, ExtensionBinding.MatchCondition.HeaderMatch.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ExtensionBinding.MatchCondition.HeaderMatch.Builder
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet.Builder