Package p4.config.v1
Interface P4InfoOuterClass.ActionRefOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4InfoOuterClass.ActionRef,P4InfoOuterClass.ActionRef.Builder
- Enclosing class:
P4InfoOuterClass
public static interface P4InfoOuterClass.ActionRefOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationLocations(int index) Optional.intOptional.Optional.getAnnotationLocationsOrBuilder(int index) Optional.List<? extends P4Types.SourceLocationOrBuilder> Optional.getAnnotations(int index) repeated string annotations = 2;com.google.protobuf.ByteStringgetAnnotationsBytes(int index) repeated string annotations = 2;intrepeated string annotations = 2;repeated string annotations = 2;intgetId()uint32 id = 1;getScope().p4.config.v1.ActionRef.Scope scope = 3;int.p4.config.v1.ActionRef.Scope scope = 3;getStructuredAnnotations(int index) repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;intrepeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;getStructuredAnnotationsOrBuilder(int index) repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;List<? extends P4Types.StructuredAnnotationOrBuilder> repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;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
-
getId
int getId()uint32 id = 1;- Returns:
- The id.
-
getScopeValue
int getScopeValue().p4.config.v1.ActionRef.Scope scope = 3;- Returns:
- The enum numeric value on the wire for scope.
-
getScope
P4InfoOuterClass.ActionRef.Scope getScope().p4.config.v1.ActionRef.Scope scope = 3;- Returns:
- The scope.
-
getAnnotationsList
repeated string annotations = 2;- Returns:
- A list containing the annotations.
-
getAnnotationsCount
int getAnnotationsCount()repeated string annotations = 2;- Returns:
- The count of annotations.
-
getAnnotations
repeated string annotations = 2;- Parameters:
index- The index of the element to return.- Returns:
- The annotations at the given index.
-
getAnnotationsBytes
com.google.protobuf.ByteString getAnnotationsBytes(int index) repeated string annotations = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotations at the given index.
-
getAnnotationLocationsList
List<P4Types.SourceLocation> getAnnotationLocationsList()Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 5; -
getAnnotationLocations
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 5; -
getAnnotationLocationsCount
int getAnnotationLocationsCount()Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 5; -
getAnnotationLocationsOrBuilderList
List<? extends P4Types.SourceLocationOrBuilder> getAnnotationLocationsOrBuilderList()Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 5; -
getAnnotationLocationsOrBuilder
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 5; -
getStructuredAnnotationsList
List<P4Types.StructuredAnnotation> getStructuredAnnotationsList()repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4; -
getStructuredAnnotations
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4; -
getStructuredAnnotationsCount
int getStructuredAnnotationsCount()repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4; -
getStructuredAnnotationsOrBuilderList
List<? extends P4Types.StructuredAnnotationOrBuilder> getStructuredAnnotationsOrBuilderList()repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4; -
getStructuredAnnotationsOrBuilder
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 4;
-