Package io.hstream.internal
Class Schema.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
- io.hstream.internal.Schema.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SchemaOrBuilder
,Cloneable
- Enclosing class:
- Schema
public static final class Schema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder> implements SchemaOrBuilder
Protobuf typehstream.server.Schema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema.Builder
addAllColumns(Iterable<? extends ColumnCatalog> values)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
addColumns(int index, ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
addColumns(int index, ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
addColumns(ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
addColumns(ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
ColumnCatalog.Builder
addColumnsBuilder()
repeated .hstream.server.ColumnCatalog columns = 2;
ColumnCatalog.Builder
addColumnsBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema
build()
Schema
buildPartial()
Schema.Builder
clear()
Schema.Builder
clearColumns()
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
clearOwner()
string owner = 1;
ColumnCatalog
getColumns(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
ColumnCatalog.Builder
getColumnsBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
List<ColumnCatalog.Builder>
getColumnsBuilderList()
repeated .hstream.server.ColumnCatalog columns = 2;
int
getColumnsCount()
repeated .hstream.server.ColumnCatalog columns = 2;
List<ColumnCatalog>
getColumnsList()
repeated .hstream.server.ColumnCatalog columns = 2;
ColumnCatalogOrBuilder
getColumnsOrBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
List<? extends ColumnCatalogOrBuilder>
getColumnsOrBuilderList()
repeated .hstream.server.ColumnCatalog columns = 2;
Schema
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getOwner()
string owner = 1;
com.google.protobuf.ByteString
getOwnerBytes()
string owner = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Schema.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Schema.Builder
mergeFrom(com.google.protobuf.Message other)
Schema.Builder
mergeFrom(Schema other)
Schema.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.Builder
removeColumns(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
setColumns(int index, ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
setColumns(int index, ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
Schema.Builder
setOwner(String value)
string owner = 1;
Schema.Builder
setOwnerBytes(com.google.protobuf.ByteString value)
string owner = 1;
Schema.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
clear
public Schema.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
getDefaultInstanceForType
public Schema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Schema build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Schema buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Schema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Schema.Builder>
-
mergeFrom
public Schema.Builder mergeFrom(Schema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
mergeFrom
public Schema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Schema.Builder>
- Throws:
IOException
-
getOwner
public String getOwner()
string owner = 1;
- Specified by:
getOwner
in interfaceSchemaOrBuilder
- Returns:
- The owner.
-
getOwnerBytes
public com.google.protobuf.ByteString getOwnerBytes()
string owner = 1;
- Specified by:
getOwnerBytes
in interfaceSchemaOrBuilder
- Returns:
- The bytes for owner.
-
setOwner
public Schema.Builder setOwner(String value)
string owner = 1;
- Parameters:
value
- The owner to set.- Returns:
- This builder for chaining.
-
clearOwner
public Schema.Builder clearOwner()
string owner = 1;
- Returns:
- This builder for chaining.
-
setOwnerBytes
public Schema.Builder setOwnerBytes(com.google.protobuf.ByteString value)
string owner = 1;
- Parameters:
value
- The bytes for owner to set.- Returns:
- This builder for chaining.
-
getColumnsList
public List<ColumnCatalog> getColumnsList()
repeated .hstream.server.ColumnCatalog columns = 2;
- Specified by:
getColumnsList
in interfaceSchemaOrBuilder
-
getColumnsCount
public int getColumnsCount()
repeated .hstream.server.ColumnCatalog columns = 2;
- Specified by:
getColumnsCount
in interfaceSchemaOrBuilder
-
getColumns
public ColumnCatalog getColumns(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
- Specified by:
getColumns
in interfaceSchemaOrBuilder
-
setColumns
public Schema.Builder setColumns(int index, ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
-
setColumns
public Schema.Builder setColumns(int index, ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
-
addColumns
public Schema.Builder addColumns(ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
-
addColumns
public Schema.Builder addColumns(int index, ColumnCatalog value)
repeated .hstream.server.ColumnCatalog columns = 2;
-
addColumns
public Schema.Builder addColumns(ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
-
addColumns
public Schema.Builder addColumns(int index, ColumnCatalog.Builder builderForValue)
repeated .hstream.server.ColumnCatalog columns = 2;
-
addAllColumns
public Schema.Builder addAllColumns(Iterable<? extends ColumnCatalog> values)
repeated .hstream.server.ColumnCatalog columns = 2;
-
clearColumns
public Schema.Builder clearColumns()
repeated .hstream.server.ColumnCatalog columns = 2;
-
removeColumns
public Schema.Builder removeColumns(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
-
getColumnsBuilder
public ColumnCatalog.Builder getColumnsBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
-
getColumnsOrBuilder
public ColumnCatalogOrBuilder getColumnsOrBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
- Specified by:
getColumnsOrBuilder
in interfaceSchemaOrBuilder
-
getColumnsOrBuilderList
public List<? extends ColumnCatalogOrBuilder> getColumnsOrBuilderList()
repeated .hstream.server.ColumnCatalog columns = 2;
- Specified by:
getColumnsOrBuilderList
in interfaceSchemaOrBuilder
-
addColumnsBuilder
public ColumnCatalog.Builder addColumnsBuilder()
repeated .hstream.server.ColumnCatalog columns = 2;
-
addColumnsBuilder
public ColumnCatalog.Builder addColumnsBuilder(int index)
repeated .hstream.server.ColumnCatalog columns = 2;
-
getColumnsBuilderList
public List<ColumnCatalog.Builder> getColumnsBuilderList()
repeated .hstream.server.ColumnCatalog columns = 2;
-
setUnknownFields
public final Schema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
mergeUnknownFields
public final Schema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
-