public static final class ListOfVariablesProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListOfVariablesProto.Builder> implements ListOfVariablesProtoOrBuilder
A list of variables, without any semantics.Protobuf type
operations_research.sat.ListOfVariablesProto
Modifier and Type | Method and Description |
---|---|
ListOfVariablesProto.Builder |
addAllVars(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 vars = 1; |
ListOfVariablesProto.Builder |
addVars(int value)
repeated int32 vars = 1; |
ListOfVariablesProto |
build() |
ListOfVariablesProto |
buildPartial() |
ListOfVariablesProto.Builder |
clear() |
ListOfVariablesProto.Builder |
clearVars()
repeated int32 vars = 1; |
ListOfVariablesProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getVars(int index)
repeated int32 vars = 1; |
int |
getVarsCount()
repeated int32 vars = 1; |
java.util.List<java.lang.Integer> |
getVarsList()
repeated int32 vars = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListOfVariablesProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListOfVariablesProto.Builder |
mergeFrom(ListOfVariablesProto other) |
ListOfVariablesProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListOfVariablesProto.Builder |
setVars(int index,
int value)
repeated int32 vars = 1; |
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ListOfVariablesProto.Builder>
public ListOfVariablesProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ListOfVariablesProto.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.GeneratedMessage.Builder<ListOfVariablesProto.Builder>
public ListOfVariablesProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListOfVariablesProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListOfVariablesProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListOfVariablesProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListOfVariablesProto.Builder>
public ListOfVariablesProto.Builder mergeFrom(ListOfVariablesProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ListOfVariablesProto.Builder>
public ListOfVariablesProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<ListOfVariablesProto.Builder>
java.io.IOException
public java.util.List<java.lang.Integer> getVarsList()
repeated int32 vars = 1;
getVarsList
in interface ListOfVariablesProtoOrBuilder
public int getVarsCount()
repeated int32 vars = 1;
getVarsCount
in interface ListOfVariablesProtoOrBuilder
public int getVars(int index)
repeated int32 vars = 1;
getVars
in interface ListOfVariablesProtoOrBuilder
index
- The index of the element to return.public ListOfVariablesProto.Builder setVars(int index, int value)
repeated int32 vars = 1;
index
- The index to set the value at.value
- The vars to set.public ListOfVariablesProto.Builder addVars(int value)
repeated int32 vars = 1;
value
- The vars to add.public ListOfVariablesProto.Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 vars = 1;
values
- The vars to add.public ListOfVariablesProto.Builder clearVars()
repeated int32 vars = 1;
Copyright © 2025. All rights reserved.