public static final class ExtensionChain.Builder extends GeneratedMessageV3.Builder<ExtensionChain.Builder> implements ExtensionChainOrBuilder
A single extension chain wrapper that contains the match conditions and
extensions to execute.
Protobuf type google.cloud.networkservices.v1.ExtensionChain
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllExtensions(Iterable<? extends ExtensionChain.Extension> values)
public ExtensionChain.Builder addAllExtensions(Iterable<? extends ExtensionChain.Extension> values)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1.ExtensionChain.Extension>
|
addExtensions(ExtensionChain.Extension value)
public ExtensionChain.Builder addExtensions(ExtensionChain.Extension value)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
addExtensions(ExtensionChain.Extension.Builder builderForValue)
public ExtensionChain.Builder addExtensions(ExtensionChain.Extension.Builder builderForValue)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
addExtensions(int index, ExtensionChain.Extension value)
public ExtensionChain.Builder addExtensions(int index, ExtensionChain.Extension value)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
addExtensions(int index, ExtensionChain.Extension.Builder builderForValue)
public ExtensionChain.Builder addExtensions(int index, ExtensionChain.Extension.Builder builderForValue)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
addExtensionsBuilder()
public ExtensionChain.Extension.Builder addExtensionsBuilder()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
addExtensionsBuilder(int index)
public ExtensionChain.Extension.Builder addExtensionsBuilder(int index)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExtensionChain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExtensionChain build()
buildPartial()
public ExtensionChain buildPartial()
clear()
public ExtensionChain.Builder clear()
Overrides
clearExtensions()
public ExtensionChain.Builder clearExtensions()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ExtensionChain.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMatchCondition()
public ExtensionChain.Builder clearMatchCondition()
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
clearName()
public ExtensionChain.Builder clearName()
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ExtensionChain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ExtensionChain.Builder clone()
Overrides
getDefaultInstanceForType()
public ExtensionChain getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExtensions(int index)
public ExtensionChain.Extension getExtensions(int index)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getExtensionsBuilder(int index)
public ExtensionChain.Extension.Builder getExtensionsBuilder(int index)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getExtensionsBuilderList()
public List<ExtensionChain.Extension.Builder> getExtensionsBuilderList()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
getExtensionsCount()
public int getExtensionsCount()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getExtensionsList()
public List<ExtensionChain.Extension> getExtensionsList()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
getExtensionsOrBuilder(int index)
public ExtensionChain.ExtensionOrBuilder getExtensionsOrBuilder(int index)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getExtensionsOrBuilderList()
public List<? extends ExtensionChain.ExtensionOrBuilder> getExtensionsOrBuilderList()
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.ExtensionChain.ExtensionOrBuilder> |
|
getMatchCondition()
public ExtensionChain.MatchCondition getMatchCondition()
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
getMatchConditionBuilder()
public ExtensionChain.MatchCondition.Builder getMatchConditionBuilder()
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
getMatchConditionOrBuilder()
public ExtensionChain.MatchConditionOrBuilder getMatchConditionOrBuilder()
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
getName()
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
hasMatchCondition()
public boolean hasMatchCondition()
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the matchCondition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExtensionChain other)
public ExtensionChain.Builder mergeFrom(ExtensionChain other)
public ExtensionChain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExtensionChain.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMatchCondition(ExtensionChain.MatchCondition value)
public ExtensionChain.Builder mergeMatchCondition(ExtensionChain.MatchCondition value)
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExtensionChain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeExtensions(int index)
public ExtensionChain.Builder removeExtensions(int index)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setExtensions(int index, ExtensionChain.Extension value)
public ExtensionChain.Builder setExtensions(int index, ExtensionChain.Extension value)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
setExtensions(int index, ExtensionChain.Extension.Builder builderForValue)
public ExtensionChain.Builder setExtensions(int index, ExtensionChain.Extension.Builder builderForValue)
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
repeated .google.cloud.networkservices.v1.ExtensionChain.Extension extensions = 3 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public ExtensionChain.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMatchCondition(ExtensionChain.MatchCondition value)
public ExtensionChain.Builder setMatchCondition(ExtensionChain.MatchCondition value)
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
setMatchCondition(ExtensionChain.MatchCondition.Builder builderForValue)
public ExtensionChain.Builder setMatchCondition(ExtensionChain.MatchCondition.Builder builderForValue)
Required. Conditions under which this chain is invoked for a request.
.google.cloud.networkservices.v1.ExtensionChain.MatchCondition match_condition = 2 [(.google.api.field_behavior) = REQUIRED];
setName(String value)
public ExtensionChain.Builder setName(String value)
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public ExtensionChain.Builder setNameBytes(ByteString value)
Required. The name for this extension chain.
The name is logged as part of the HTTP request logs.
The name must conform with RFC-1034, is restricted to lower-cased letters,
numbers and hyphens, and can have a maximum length of 63 characters.
Additionally, the first character must be a letter and the last a letter or
a number.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExtensionChain.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExtensionChain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides