public static final class ActionRef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder> implements ActionRefOrBuilder
used to list all possible actions in a TableProtobuf type
p4.config.ActionRef
Modifier and Type | Method and Description |
---|---|
ActionRef.Builder |
addAllAnnotations(Iterable<String> values)
repeated string annotations = 2; |
ActionRef.Builder |
addAnnotations(String value)
repeated string annotations = 2; |
ActionRef.Builder |
addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 2; |
ActionRef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ActionRef |
build() |
ActionRef |
buildPartial() |
ActionRef.Builder |
clear() |
ActionRef.Builder |
clearAnnotations()
repeated string annotations = 2; |
ActionRef.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ActionRef.Builder |
clearId()
uint32 id = 1; |
ActionRef.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ActionRef.Builder |
clone() |
String |
getAnnotations(int index)
repeated string annotations = 2; |
com.google.protobuf.ByteString |
getAnnotationsBytes(int index)
repeated string annotations = 2; |
int |
getAnnotationsCount()
repeated string annotations = 2; |
com.google.protobuf.ProtocolStringList |
getAnnotationsList()
repeated string annotations = 2; |
ActionRef |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
uint32 id = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ActionRef.Builder |
mergeFrom(ActionRef other) |
ActionRef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ActionRef.Builder |
mergeFrom(com.google.protobuf.Message other) |
ActionRef.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ActionRef.Builder |
setAnnotations(int index,
String value)
repeated string annotations = 2; |
ActionRef.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ActionRef.Builder |
setId(int value)
uint32 id = 1; |
ActionRef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ActionRef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ActionRef build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ActionRef buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ActionRef.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ActionRef.Builder>
public ActionRef.Builder mergeFrom(ActionRef other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public ActionRef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ActionRef.Builder>
IOException
public int getId()
uint32 id = 1;
getId
in interface ActionRefOrBuilder
public ActionRef.Builder setId(int value)
uint32 id = 1;
public ActionRef.Builder clearId()
uint32 id = 1;
public com.google.protobuf.ProtocolStringList getAnnotationsList()
repeated string annotations = 2;
getAnnotationsList
in interface ActionRefOrBuilder
public int getAnnotationsCount()
repeated string annotations = 2;
getAnnotationsCount
in interface ActionRefOrBuilder
public String getAnnotations(int index)
repeated string annotations = 2;
getAnnotations
in interface ActionRefOrBuilder
public com.google.protobuf.ByteString getAnnotationsBytes(int index)
repeated string annotations = 2;
getAnnotationsBytes
in interface ActionRefOrBuilder
public ActionRef.Builder setAnnotations(int index, String value)
repeated string annotations = 2;
public ActionRef.Builder addAnnotations(String value)
repeated string annotations = 2;
public ActionRef.Builder addAllAnnotations(Iterable<String> values)
repeated string annotations = 2;
public ActionRef.Builder clearAnnotations()
repeated string annotations = 2;
public ActionRef.Builder addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 2;
public final ActionRef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
public final ActionRef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ActionRef.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.