Package p4.config.v1
Interface P4Types.StructuredAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4Types.StructuredAnnotation,P4Types.StructuredAnnotation.Builder
- Enclosing class:
P4Types
public static interface P4Types.StructuredAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.p4.config.v1.ExpressionList expression_list = 2;.p4.config.v1.ExpressionList expression_list = 2;.p4.config.v1.KeyValuePairList kv_pair_list = 3;.p4.config.v1.KeyValuePairList kv_pair_list = 3;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;Optional.Optional.boolean.p4.config.v1.ExpressionList expression_list = 2;boolean.p4.config.v1.KeyValuePairList kv_pair_list = 3;booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1;- Returns:
- The bytes for name.
-
hasExpressionList
boolean hasExpressionList().p4.config.v1.ExpressionList expression_list = 2;- Returns:
- Whether the expressionList field is set.
-
getExpressionList
P4Types.ExpressionList getExpressionList().p4.config.v1.ExpressionList expression_list = 2;- Returns:
- The expressionList.
-
getExpressionListOrBuilder
P4Types.ExpressionListOrBuilder getExpressionListOrBuilder().p4.config.v1.ExpressionList expression_list = 2; -
hasKvPairList
boolean hasKvPairList().p4.config.v1.KeyValuePairList kv_pair_list = 3;- Returns:
- Whether the kvPairList field is set.
-
getKvPairList
P4Types.KeyValuePairList getKvPairList().p4.config.v1.KeyValuePairList kv_pair_list = 3;- Returns:
- The kvPairList.
-
getKvPairListOrBuilder
P4Types.KeyValuePairListOrBuilder getKvPairListOrBuilder().p4.config.v1.KeyValuePairList kv_pair_list = 3; -
hasSourceLocation
boolean hasSourceLocation()Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4;- Returns:
- Whether the sourceLocation field is set.
-
getSourceLocation
P4Types.SourceLocation getSourceLocation()Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4;- Returns:
- The sourceLocation.
-
getSourceLocationOrBuilder
P4Types.SourceLocationOrBuilder getSourceLocationOrBuilder()Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
getBodyCase
P4Types.StructuredAnnotation.BodyCase getBodyCase()
-