Package io.hstream.internal
Class CreateQueryRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CreateQueryRequest.Builder>
-
- io.hstream.internal.CreateQueryRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CreateQueryRequestOrBuilder
,Cloneable
- Enclosing class:
- CreateQueryRequest
public static final class CreateQueryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateQueryRequest.Builder> implements CreateQueryRequestOrBuilder
Query realated Request and Response
Protobuf typehstream.server.CreateQueryRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateQueryRequest
build()
CreateQueryRequest
buildPartial()
CreateQueryRequest.Builder
clear()
CreateQueryRequest.Builder
clearQueryName()
string queryName = 2;
CreateQueryRequest.Builder
clearSql()
string sql = 1;
CreateQueryRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getQueryName()
string queryName = 2;
com.google.protobuf.ByteString
getQueryNameBytes()
string queryName = 2;
String
getSql()
string sql = 1;
com.google.protobuf.ByteString
getSqlBytes()
string sql = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CreateQueryRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CreateQueryRequest.Builder
mergeFrom(com.google.protobuf.Message other)
CreateQueryRequest.Builder
mergeFrom(CreateQueryRequest other)
CreateQueryRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CreateQueryRequest.Builder
setQueryName(String value)
string queryName = 2;
CreateQueryRequest.Builder
setQueryNameBytes(com.google.protobuf.ByteString value)
string queryName = 2;
CreateQueryRequest.Builder
setSql(String value)
string sql = 1;
CreateQueryRequest.Builder
setSqlBytes(com.google.protobuf.ByteString value)
string sql = 1;
CreateQueryRequest.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<CreateQueryRequest.Builder>
-
clear
public CreateQueryRequest.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<CreateQueryRequest.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<CreateQueryRequest.Builder>
-
getDefaultInstanceForType
public CreateQueryRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateQueryRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateQueryRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CreateQueryRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateQueryRequest.Builder>
-
mergeFrom
public CreateQueryRequest.Builder mergeFrom(CreateQueryRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateQueryRequest.Builder>
-
mergeFrom
public CreateQueryRequest.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<CreateQueryRequest.Builder>
- Throws:
IOException
-
getSql
public String getSql()
string sql = 1;
- Specified by:
getSql
in interfaceCreateQueryRequestOrBuilder
- Returns:
- The sql.
-
getSqlBytes
public com.google.protobuf.ByteString getSqlBytes()
string sql = 1;
- Specified by:
getSqlBytes
in interfaceCreateQueryRequestOrBuilder
- Returns:
- The bytes for sql.
-
setSql
public CreateQueryRequest.Builder setSql(String value)
string sql = 1;
- Parameters:
value
- The sql to set.- Returns:
- This builder for chaining.
-
clearSql
public CreateQueryRequest.Builder clearSql()
string sql = 1;
- Returns:
- This builder for chaining.
-
setSqlBytes
public CreateQueryRequest.Builder setSqlBytes(com.google.protobuf.ByteString value)
string sql = 1;
- Parameters:
value
- The bytes for sql to set.- Returns:
- This builder for chaining.
-
getQueryName
public String getQueryName()
string queryName = 2;
- Specified by:
getQueryName
in interfaceCreateQueryRequestOrBuilder
- Returns:
- The queryName.
-
getQueryNameBytes
public com.google.protobuf.ByteString getQueryNameBytes()
string queryName = 2;
- Specified by:
getQueryNameBytes
in interfaceCreateQueryRequestOrBuilder
- Returns:
- The bytes for queryName.
-
setQueryName
public CreateQueryRequest.Builder setQueryName(String value)
string queryName = 2;
- Parameters:
value
- The queryName to set.- Returns:
- This builder for chaining.
-
clearQueryName
public CreateQueryRequest.Builder clearQueryName()
string queryName = 2;
- Returns:
- This builder for chaining.
-
setQueryNameBytes
public CreateQueryRequest.Builder setQueryNameBytes(com.google.protobuf.ByteString value)
string queryName = 2;
- Parameters:
value
- The bytes for queryName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateQueryRequest.Builder>
-
mergeUnknownFields
public final CreateQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateQueryRequest.Builder>
-
-