Class Database.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.v1.schema.DatabaseOrBuilder
public final class Database.Builder extends GeneratedMessageV3.Builder<BuilderT> implements DatabaseOrBuilder
Protobuf type
xyz.block.ftl.v1.schema.Database
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()Database.Builderclear()Descriptors.DescriptorgetDescriptorForType()DatabasegetDefaultInstanceForType()Databasebuild()DatabasebuildPartial()Database.Builderclone()Database.BuildersetField(Descriptors.FieldDescriptor field, Object value)Database.BuilderclearField(Descriptors.FieldDescriptor field)Database.BuilderclearOneof(Descriptors.OneofDescriptor oneof)Database.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)Database.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)Database.BuildermergeFrom(Message other)Database.BuildermergeFrom(Database other)final booleanisInitialized()Database.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)booleanhasPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;PositiongetPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;Database.BuildersetPos(Position value)optional .xyz.block.ftl.v1.schema.Position pos = 1;Database.BuildersetPos(Position.Builder builderForValue)optional .xyz.block.ftl.v1.schema.Position pos = 1;Database.BuildermergePos(Position value)optional .xyz.block.ftl.v1.schema.Position pos = 1;Database.BuilderclearPos()optional .xyz.block.ftl.v1.schema.Position pos = 1;Position.BuildergetPosBuilder()optional .xyz.block.ftl.v1.schema.Position pos = 1;PositionOrBuildergetPosOrBuilder()optional .xyz.block.ftl.v1.schema.Position pos = 1;booleanhasRuntime()optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;DatabaseRuntimegetRuntime()optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;Database.BuildersetRuntime(DatabaseRuntime value)optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;Database.BuildersetRuntime(DatabaseRuntime.Builder builderForValue)optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;Database.BuildermergeRuntime(DatabaseRuntime value)optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;Database.BuilderclearRuntime()optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;DatabaseRuntime.BuildergetRuntimeBuilder()optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;DatabaseRuntimeOrBuildergetRuntimeOrBuilder()optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;ProtocolStringListgetCommentsList()repeated string comments = 2;intgetCommentsCount()repeated string comments = 2;StringgetComments(int index)repeated string comments = 2;ByteStringgetCommentsBytes(int index)repeated string comments = 2;Database.BuildersetComments(int index, String value)repeated string comments = 2;Database.BuilderaddComments(String value)repeated string comments = 2;Database.BuilderaddAllComments(Iterable<String> values)repeated string comments = 2;Database.BuilderclearComments()repeated string comments = 2;Database.BuilderaddCommentsBytes(ByteString value)repeated string comments = 2;StringgetType()string type = 4;ByteStringgetTypeBytes()string type = 4;Database.BuildersetType(String value)string type = 4;Database.BuilderclearType()string type = 4;Database.BuildersetTypeBytes(ByteString value)string type = 4;StringgetName()string name = 3;ByteStringgetNameBytes()string name = 3;Database.BuildersetName(String value)string name = 3;Database.BuilderclearName()string name = 3;Database.BuildersetNameBytes(ByteString value)string name = 3;final Database.BuildersetUnknownFields(UnknownFieldSet unknownFields)final Database.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
clear
Database.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
Database getDefaultInstanceForType()
-
buildPartial
Database buildPartial()
-
clone
Database.Builder clone()
-
setField
Database.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
Database.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
Database.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
Database.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
Database.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
Database.Builder mergeFrom(Message other)
-
mergeFrom
Database.Builder mergeFrom(Database other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
Database.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
hasPos
boolean hasPos()
optional .xyz.block.ftl.v1.schema.Position pos = 1;- Returns:
Whether the pos field is set.
-
setPos
Database.Builder setPos(Position value)
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
setPos
Database.Builder setPos(Position.Builder builderForValue)
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
mergePos
Database.Builder mergePos(Position value)
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
clearPos
Database.Builder clearPos()
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
getPosBuilder
Position.Builder getPosBuilder()
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
getPosOrBuilder
PositionOrBuilder getPosOrBuilder()
optional .xyz.block.ftl.v1.schema.Position pos = 1;
-
hasRuntime
boolean hasRuntime()
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;- Returns:
Whether the runtime field is set.
-
getRuntime
DatabaseRuntime getRuntime()
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;- Returns:
The runtime.
-
setRuntime
Database.Builder setRuntime(DatabaseRuntime value)
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
setRuntime
Database.Builder setRuntime(DatabaseRuntime.Builder builderForValue)
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
mergeRuntime
Database.Builder mergeRuntime(DatabaseRuntime value)
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
clearRuntime
Database.Builder clearRuntime()
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
getRuntimeBuilder
DatabaseRuntime.Builder getRuntimeBuilder()
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
getRuntimeOrBuilder
DatabaseRuntimeOrBuilder getRuntimeOrBuilder()
optional .xyz.block.ftl.v1.schema.DatabaseRuntime runtime = 31634;
-
getCommentsList
ProtocolStringList getCommentsList()
repeated string comments = 2;- Returns:
A list containing the comments.
-
getCommentsCount
int getCommentsCount()
repeated string comments = 2;- Returns:
The count of comments.
-
getComments
String getComments(int index)
repeated string comments = 2;- Parameters:
index- The index of the element to return.- Returns:
The comments at the given index.
-
getCommentsBytes
ByteString getCommentsBytes(int index)
repeated string comments = 2;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the comments at the given index.
-
setComments
Database.Builder setComments(int index, String value)
repeated string comments = 2;- Parameters:
index- The index to set the value at.value- The comments to set.- Returns:
This builder for chaining.
-
addComments
Database.Builder addComments(String value)
repeated string comments = 2;- Parameters:
value- The comments to add.- Returns:
This builder for chaining.
-
addAllComments
Database.Builder addAllComments(Iterable<String> values)
repeated string comments = 2;- Parameters:
values- The comments to add.- Returns:
This builder for chaining.
-
clearComments
Database.Builder clearComments()
repeated string comments = 2;- Returns:
This builder for chaining.
-
addCommentsBytes
Database.Builder addCommentsBytes(ByteString value)
repeated string comments = 2;- Parameters:
value- The bytes of the comments to add.- Returns:
This builder for chaining.
-
getTypeBytes
ByteString getTypeBytes()
string type = 4;- Returns:
The bytes for type.
-
setType
Database.Builder setType(String value)
string type = 4;- Parameters:
value- The type to set.- Returns:
This builder for chaining.
-
clearType
Database.Builder clearType()
string type = 4;- Returns:
This builder for chaining.
-
setTypeBytes
Database.Builder setTypeBytes(ByteString value)
string type = 4;- Parameters:
value- The bytes for type to set.- Returns:
This builder for chaining.
-
getNameBytes
ByteString getNameBytes()
string name = 3;- Returns:
The bytes for name.
-
setName
Database.Builder setName(String value)
string name = 3;- Parameters:
value- The name to set.- Returns:
This builder for chaining.
-
clearName
Database.Builder clearName()
string name = 3;- Returns:
This builder for chaining.
-
setNameBytes
Database.Builder setNameBytes(ByteString value)
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
This builder for chaining.
-
setUnknownFields
final Database.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final Database.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-