Interface ExtensionChainOrBuilder (0.2.0)

public interface ExtensionChainOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExtensions(int index)

public abstract 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
Returns
Type Description
ExtensionChain.Extension

getExtensionsCount()

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

Returns
Type Description
List<Extension>

getExtensionsOrBuilder(int index)

public abstract 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
Returns
Type Description
ExtensionChain.ExtensionOrBuilder

getExtensionsOrBuilderList()

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

Returns
Type Description
ExtensionChain.MatchCondition

The matchCondition.

getMatchConditionOrBuilder()

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

Returns
Type Description
ExtensionChain.MatchConditionOrBuilder

getName()

public abstract String 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 abstract 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 abstract 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.