Package io.hstream.internal
Class View.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
- io.hstream.internal.View.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ViewOrBuilder
,Cloneable
- Enclosing class:
- View
public static final class View.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<View.Builder> implements ViewOrBuilder
Protobuf typehstream.server.View
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description View.Builder
addAllSchema(Iterable<String> values)
repeated string schema = 5;
View.Builder
addSchema(String value)
repeated string schema = 5;
View.Builder
addSchemaBytes(com.google.protobuf.ByteString value)
repeated string schema = 5;
View
build()
View
buildPartial()
View.Builder
clear()
View.Builder
clearCreatedTime()
int64 createdTime = 3;
View.Builder
clearQueryName()
string queryName = 6;
View.Builder
clearSchema()
repeated string schema = 5;
View.Builder
clearSql()
string sql = 4;
View.Builder
clearStatus()
.hstream.server.TaskStatusPB status = 2;
View.Builder
clearViewId()
string viewId = 1;
long
getCreatedTime()
int64 createdTime = 3;
View
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getQueryName()
string queryName = 6;
com.google.protobuf.ByteString
getQueryNameBytes()
string queryName = 6;
String
getSchema(int index)
repeated string schema = 5;
com.google.protobuf.ByteString
getSchemaBytes(int index)
repeated string schema = 5;
int
getSchemaCount()
repeated string schema = 5;
com.google.protobuf.ProtocolStringList
getSchemaList()
repeated string schema = 5;
String
getSql()
string sql = 4;
com.google.protobuf.ByteString
getSqlBytes()
string sql = 4;
TaskStatusPB
getStatus()
.hstream.server.TaskStatusPB status = 2;
int
getStatusValue()
.hstream.server.TaskStatusPB status = 2;
String
getViewId()
string viewId = 1;
com.google.protobuf.ByteString
getViewIdBytes()
string viewId = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
View.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
View.Builder
mergeFrom(com.google.protobuf.Message other)
View.Builder
mergeFrom(View other)
View.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
View.Builder
setCreatedTime(long value)
int64 createdTime = 3;
View.Builder
setQueryName(String value)
string queryName = 6;
View.Builder
setQueryNameBytes(com.google.protobuf.ByteString value)
string queryName = 6;
View.Builder
setSchema(int index, String value)
repeated string schema = 5;
View.Builder
setSql(String value)
string sql = 4;
View.Builder
setSqlBytes(com.google.protobuf.ByteString value)
string sql = 4;
View.Builder
setStatus(TaskStatusPB value)
.hstream.server.TaskStatusPB status = 2;
View.Builder
setStatusValue(int value)
.hstream.server.TaskStatusPB status = 2;
View.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
View.Builder
setViewId(String value)
string viewId = 1;
View.Builder
setViewIdBytes(com.google.protobuf.ByteString value)
string viewId = 1;
-
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<View.Builder>
-
clear
public View.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<View.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<View.Builder>
-
getDefaultInstanceForType
public View getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public View build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public View buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public View.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<View.Builder>
-
mergeFrom
public View.Builder mergeFrom(View other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
mergeFrom
public View.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<View.Builder>
- Throws:
IOException
-
getViewId
public String getViewId()
string viewId = 1;
- Specified by:
getViewId
in interfaceViewOrBuilder
- Returns:
- The viewId.
-
getViewIdBytes
public com.google.protobuf.ByteString getViewIdBytes()
string viewId = 1;
- Specified by:
getViewIdBytes
in interfaceViewOrBuilder
- Returns:
- The bytes for viewId.
-
setViewId
public View.Builder setViewId(String value)
string viewId = 1;
- Parameters:
value
- The viewId to set.- Returns:
- This builder for chaining.
-
clearViewId
public View.Builder clearViewId()
string viewId = 1;
- Returns:
- This builder for chaining.
-
setViewIdBytes
public View.Builder setViewIdBytes(com.google.protobuf.ByteString value)
string viewId = 1;
- Parameters:
value
- The bytes for viewId to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.hstream.server.TaskStatusPB status = 2;
- Specified by:
getStatusValue
in interfaceViewOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public View.Builder setStatusValue(int value)
.hstream.server.TaskStatusPB status = 2;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public TaskStatusPB getStatus()
.hstream.server.TaskStatusPB status = 2;
- Specified by:
getStatus
in interfaceViewOrBuilder
- Returns:
- The status.
-
setStatus
public View.Builder setStatus(TaskStatusPB value)
.hstream.server.TaskStatusPB status = 2;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public View.Builder clearStatus()
.hstream.server.TaskStatusPB status = 2;
- Returns:
- This builder for chaining.
-
getCreatedTime
public long getCreatedTime()
int64 createdTime = 3;
- Specified by:
getCreatedTime
in interfaceViewOrBuilder
- Returns:
- The createdTime.
-
setCreatedTime
public View.Builder setCreatedTime(long value)
int64 createdTime = 3;
- Parameters:
value
- The createdTime to set.- Returns:
- This builder for chaining.
-
clearCreatedTime
public View.Builder clearCreatedTime()
int64 createdTime = 3;
- Returns:
- This builder for chaining.
-
getSql
public String getSql()
string sql = 4;
- Specified by:
getSql
in interfaceViewOrBuilder
- Returns:
- The sql.
-
getSqlBytes
public com.google.protobuf.ByteString getSqlBytes()
string sql = 4;
- Specified by:
getSqlBytes
in interfaceViewOrBuilder
- Returns:
- The bytes for sql.
-
setSql
public View.Builder setSql(String value)
string sql = 4;
- Parameters:
value
- The sql to set.- Returns:
- This builder for chaining.
-
clearSql
public View.Builder clearSql()
string sql = 4;
- Returns:
- This builder for chaining.
-
setSqlBytes
public View.Builder setSqlBytes(com.google.protobuf.ByteString value)
string sql = 4;
- Parameters:
value
- The bytes for sql to set.- Returns:
- This builder for chaining.
-
getSchemaList
public com.google.protobuf.ProtocolStringList getSchemaList()
repeated string schema = 5;
- Specified by:
getSchemaList
in interfaceViewOrBuilder
- Returns:
- A list containing the schema.
-
getSchemaCount
public int getSchemaCount()
repeated string schema = 5;
- Specified by:
getSchemaCount
in interfaceViewOrBuilder
- Returns:
- The count of schema.
-
getSchema
public String getSchema(int index)
repeated string schema = 5;
- Specified by:
getSchema
in interfaceViewOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The schema at the given index.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes(int index)
repeated string schema = 5;
- Specified by:
getSchemaBytes
in interfaceViewOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the schema at the given index.
-
setSchema
public View.Builder setSchema(int index, String value)
repeated string schema = 5;
- Parameters:
index
- The index to set the value at.value
- The schema to set.- Returns:
- This builder for chaining.
-
addSchema
public View.Builder addSchema(String value)
repeated string schema = 5;
- Parameters:
value
- The schema to add.- Returns:
- This builder for chaining.
-
addAllSchema
public View.Builder addAllSchema(Iterable<String> values)
repeated string schema = 5;
- Parameters:
values
- The schema to add.- Returns:
- This builder for chaining.
-
clearSchema
public View.Builder clearSchema()
repeated string schema = 5;
- Returns:
- This builder for chaining.
-
addSchemaBytes
public View.Builder addSchemaBytes(com.google.protobuf.ByteString value)
repeated string schema = 5;
- Parameters:
value
- The bytes of the schema to add.- Returns:
- This builder for chaining.
-
getQueryName
public String getQueryName()
string queryName = 6;
- Specified by:
getQueryName
in interfaceViewOrBuilder
- Returns:
- The queryName.
-
getQueryNameBytes
public com.google.protobuf.ByteString getQueryNameBytes()
string queryName = 6;
- Specified by:
getQueryNameBytes
in interfaceViewOrBuilder
- Returns:
- The bytes for queryName.
-
setQueryName
public View.Builder setQueryName(String value)
string queryName = 6;
- Parameters:
value
- The queryName to set.- Returns:
- This builder for chaining.
-
clearQueryName
public View.Builder clearQueryName()
string queryName = 6;
- Returns:
- This builder for chaining.
-
setQueryNameBytes
public View.Builder setQueryNameBytes(com.google.protobuf.ByteString value)
string queryName = 6;
- Parameters:
value
- The bytes for queryName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final View.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
mergeUnknownFields
public final View.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
-