public final class ExtensionChain extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXTENSIONS_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MATCH_CONDITION_FIELD_NUMBER
public static final int MATCH_CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExtensionChain getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExtensionChain.Builder newBuilder()
newBuilder(ExtensionChain prototype)
public static ExtensionChain.Builder newBuilder(ExtensionChain prototype)
public static ExtensionChain parseDelimitedFrom(InputStream input)
public static ExtensionChain parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExtensionChain parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExtensionChain parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExtensionChain parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExtensionChain parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExtensionChain parseFrom(CodedInputStream input)
public static ExtensionChain parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExtensionChain parseFrom(InputStream input)
public static ExtensionChain parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExtensionChain parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExtensionChain parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExtensionChain> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ExtensionChain getDefaultInstanceForType()
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
|
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];
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.
|
getParserForType()
public Parser<ExtensionChain> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExtensionChain.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExtensionChain.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExtensionChain.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides