Class LbEdgeExtension.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.Builder>
com.google.cloud.networkservices.v1.LbEdgeExtension.Builder
- All Implemented Interfaces:
LbEdgeExtensionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LbEdgeExtension
public static final class LbEdgeExtension.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.Builder>
implements LbEdgeExtensionOrBuilder
`LbEdgeExtension` is a resource that lets the extension service influence the selection of backend services and Cloud CDN cache keys by modifying request headers.Protobuf type
google.cloud.networkservices.v1.LbEdgeExtension-
Method Summary
Modifier and TypeMethodDescriptionaddAllExtensionChains(Iterable<? extends ExtensionChain> values) Required.addAllForwardingRules(Iterable<String> values) Required.addExtensionChains(int index, ExtensionChain value) Required.addExtensionChains(int index, ExtensionChain.Builder builderForValue) Required.addExtensionChains(ExtensionChain value) Required.addExtensionChains(ExtensionChain.Builder builderForValue) Required.Required.addExtensionChainsBuilder(int index) Required.addForwardingRules(String value) Required.addForwardingRulesBytes(com.google.protobuf.ByteString value) Required.build()clear()Output only.Optional.Required.Required.Required.Required.Output only.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExtensionChains(int index) Required.getExtensionChainsBuilder(int index) Required.Required.intRequired.Required.getExtensionChainsOrBuilder(int index) Required.List<? extends ExtensionChainOrBuilder>Required.getForwardingRules(int index) Required.com.google.protobuf.ByteStringgetForwardingRulesBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Required.intRequired.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(LbEdgeExtension other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeExtensionChains(int index) Required.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setExtensionChains(int index, ExtensionChain value) Required.setExtensionChains(int index, ExtensionChain.Builder builderForValue) Required.setForwardingRules(int index, String value) Required.Required.setLoadBalancingSchemeValue(int value) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.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<LbEdgeExtension.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<LbEdgeExtension.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<LbEdgeExtension.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LbEdgeExtension.Builder>
-
mergeFrom
public LbEdgeExtension.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<LbEdgeExtension.Builder>- Throws:
IOException
-
getName
Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceLbEdgeExtensionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceLbEdgeExtensionOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceLbEdgeExtensionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceLbEdgeExtensionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceLbEdgeExtensionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceLbEdgeExtensionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceLbEdgeExtensionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceLbEdgeExtensionOrBuilder
-
getDescription
Optional. A human-readable description of the resource.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceLbEdgeExtensionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. A human-readable description of the resource.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceLbEdgeExtensionOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. A human-readable description of the resource.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. A human-readable description of the resource.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. A human-readable description of the resource.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:LbEdgeExtensionOrBuilderOptional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceLbEdgeExtensionOrBuilder
-
containsLabels
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceLbEdgeExtensionOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceLbEdgeExtensionOrBuilder
-
getLabelsMap
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceLbEdgeExtensionOrBuilder
-
getLabelsOrDefault
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceLbEdgeExtensionOrBuilder
-
getLabelsOrThrow
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceLbEdgeExtensionOrBuilder
-
clearLabels
-
removeLabels
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getForwardingRulesList
public com.google.protobuf.ProtocolStringList getForwardingRulesList()Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getForwardingRulesListin interfaceLbEdgeExtensionOrBuilder- Returns:
- A list containing the forwardingRules.
-
getForwardingRulesCount
public int getForwardingRulesCount()Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getForwardingRulesCountin interfaceLbEdgeExtensionOrBuilder- Returns:
- The count of forwardingRules.
-
getForwardingRules
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getForwardingRulesin interfaceLbEdgeExtensionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The forwardingRules at the given index.
-
getForwardingRulesBytes
public com.google.protobuf.ByteString getForwardingRulesBytes(int index) Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getForwardingRulesBytesin interfaceLbEdgeExtensionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the forwardingRules at the given index.
-
setForwardingRules
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The forwardingRules to set.- Returns:
- This builder for chaining.
-
addForwardingRules
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The forwardingRules to add.- Returns:
- This builder for chaining.
-
addAllForwardingRules
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The forwardingRules to add.- Returns:
- This builder for chaining.
-
clearForwardingRules
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
addForwardingRulesBytes
Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
repeated string forwarding_rules = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes of the forwardingRules to add.- Returns:
- This builder for chaining.
-
getExtensionChainsList
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExtensionChainsListin interfaceLbEdgeExtensionOrBuilder
-
getExtensionChainsCount
public int getExtensionChainsCount()Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExtensionChainsCountin interfaceLbEdgeExtensionOrBuilder
-
getExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExtensionChainsin interfaceLbEdgeExtensionOrBuilder
-
setExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
setExtensionChains
public LbEdgeExtension.Builder setExtensionChains(int index, ExtensionChain.Builder builderForValue) Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addExtensionChains
public LbEdgeExtension.Builder addExtensionChains(int index, ExtensionChain.Builder builderForValue) Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addAllExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
clearExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
removeExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
getExtensionChainsBuilder
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
getExtensionChainsOrBuilder
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExtensionChainsOrBuilderin interfaceLbEdgeExtensionOrBuilder
-
getExtensionChainsOrBuilderList
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getExtensionChainsOrBuilderListin interfaceLbEdgeExtensionOrBuilder
-
addExtensionChainsBuilder
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
addExtensionChainsBuilder
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
getExtensionChainsBuilderList
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
repeated .google.cloud.networkservices.v1.ExtensionChain extension_chains = 6 [(.google.api.field_behavior) = REQUIRED]; -
getLoadBalancingSchemeValue
public int getLoadBalancingSchemeValue()Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
.google.cloud.networkservices.v1.LoadBalancingScheme load_balancing_scheme = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLoadBalancingSchemeValuein interfaceLbEdgeExtensionOrBuilder- Returns:
- The enum numeric value on the wire for loadBalancingScheme.
-
setLoadBalancingSchemeValue
Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
.google.cloud.networkservices.v1.LoadBalancingScheme load_balancing_scheme = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for loadBalancingScheme to set.- Returns:
- This builder for chaining.
-
getLoadBalancingScheme
Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
.google.cloud.networkservices.v1.LoadBalancingScheme load_balancing_scheme = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLoadBalancingSchemein interfaceLbEdgeExtensionOrBuilder- Returns:
- The loadBalancingScheme.
-
setLoadBalancingScheme
Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
.google.cloud.networkservices.v1.LoadBalancingScheme load_balancing_scheme = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The loadBalancingScheme to set.- Returns:
- This builder for chaining.
-
clearLoadBalancingScheme
Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
.google.cloud.networkservices.v1.LoadBalancingScheme load_balancing_scheme = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-