Package p4.config.v1
Class P4Types.StructuredAnnotation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4Types.StructuredAnnotation.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4Types.StructuredAnnotation.Builder>
p4.config.v1.P4Types.StructuredAnnotation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4Types.StructuredAnnotationOrBuilder
- Enclosing class:
P4Types.StructuredAnnotation
public static final class P4Types.StructuredAnnotation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4Types.StructuredAnnotation.Builder>
implements P4Types.StructuredAnnotationOrBuilder
Protobuf type
p4.config.v1.StructuredAnnotation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().p4.config.v1.ExpressionList expression_list = 2;.p4.config.v1.KeyValuePairList kv_pair_list = 3;string name = 1;Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.p4.config.v1.ExpressionList expression_list = 2;.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;.p4.config.v1.KeyValuePairList kv_pair_list = 3;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;Optional.Optional.Optional.boolean.p4.config.v1.ExpressionList expression_list = 2;boolean.p4.config.v1.KeyValuePairList kv_pair_list = 3;booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean.p4.config.v1.ExpressionList expression_list = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .p4.config.v1.KeyValuePairList kv_pair_list = 3;Optional..p4.config.v1.ExpressionList expression_list = 2;setExpressionList(P4Types.ExpressionList.Builder builderForValue) .p4.config.v1.ExpressionList expression_list = 2;.p4.config.v1.KeyValuePairList kv_pair_list = 3;setKvPairList(P4Types.KeyValuePairList.Builder builderForValue) .p4.config.v1.KeyValuePairList kv_pair_list = 3;string name = 1;setNameBytes(com.google.protobuf.ByteString value) string name = 1;Optional.setSourceLocation(P4Types.SourceLocation.Builder builderForValue) Optional.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4Types.StructuredAnnotation.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<P4Types.StructuredAnnotation.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<P4Types.StructuredAnnotation.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<P4Types.StructuredAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4Types.StructuredAnnotation.Builder>
-
mergeFrom
public P4Types.StructuredAnnotation.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<P4Types.StructuredAnnotation.Builder>- Throws:
IOException
-
getBodyCase
- Specified by:
getBodyCasein interfaceP4Types.StructuredAnnotationOrBuilder
-
clearBody
-
getName
string name = 1;- Specified by:
getNamein interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasExpressionList
public boolean hasExpressionList().p4.config.v1.ExpressionList expression_list = 2;- Specified by:
hasExpressionListin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- Whether the expressionList field is set.
-
getExpressionList
.p4.config.v1.ExpressionList expression_list = 2;- Specified by:
getExpressionListin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- The expressionList.
-
setExpressionList
.p4.config.v1.ExpressionList expression_list = 2; -
setExpressionList
public P4Types.StructuredAnnotation.Builder setExpressionList(P4Types.ExpressionList.Builder builderForValue) .p4.config.v1.ExpressionList expression_list = 2; -
mergeExpressionList
.p4.config.v1.ExpressionList expression_list = 2; -
clearExpressionList
.p4.config.v1.ExpressionList expression_list = 2; -
getExpressionListBuilder
.p4.config.v1.ExpressionList expression_list = 2; -
getExpressionListOrBuilder
.p4.config.v1.ExpressionList expression_list = 2;- Specified by:
getExpressionListOrBuilderin interfaceP4Types.StructuredAnnotationOrBuilder
-
hasKvPairList
public boolean hasKvPairList().p4.config.v1.KeyValuePairList kv_pair_list = 3;- Specified by:
hasKvPairListin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- Whether the kvPairList field is set.
-
getKvPairList
.p4.config.v1.KeyValuePairList kv_pair_list = 3;- Specified by:
getKvPairListin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- The kvPairList.
-
setKvPairList
.p4.config.v1.KeyValuePairList kv_pair_list = 3; -
setKvPairList
public P4Types.StructuredAnnotation.Builder setKvPairList(P4Types.KeyValuePairList.Builder builderForValue) .p4.config.v1.KeyValuePairList kv_pair_list = 3; -
mergeKvPairList
.p4.config.v1.KeyValuePairList kv_pair_list = 3; -
clearKvPairList
.p4.config.v1.KeyValuePairList kv_pair_list = 3; -
getKvPairListBuilder
.p4.config.v1.KeyValuePairList kv_pair_list = 3; -
getKvPairListOrBuilder
.p4.config.v1.KeyValuePairList kv_pair_list = 3;- Specified by:
getKvPairListOrBuilderin interfaceP4Types.StructuredAnnotationOrBuilder
-
hasSourceLocation
public boolean hasSourceLocation()Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4;- Specified by:
hasSourceLocationin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- Whether the sourceLocation field is set.
-
getSourceLocation
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4;- Specified by:
getSourceLocationin interfaceP4Types.StructuredAnnotationOrBuilder- Returns:
- The sourceLocation.
-
setSourceLocation
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
setSourceLocation
public P4Types.StructuredAnnotation.Builder setSourceLocation(P4Types.SourceLocation.Builder builderForValue) Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
mergeSourceLocation
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
clearSourceLocation
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
getSourceLocationBuilder
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4; -
getSourceLocationOrBuilder
Optional. Location of the '@' symbol of this annotation in the source code.
.p4.config.v1.SourceLocation source_location = 4;- Specified by:
getSourceLocationOrBuilderin interfaceP4Types.StructuredAnnotationOrBuilder
-