Package com.ocient.jdbc.proto
Class ClientWireProtocol.SysQueriesRow.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.SysQueriesRow.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.SysQueriesRowOrBuilder,Cloneable
- Enclosing class:
- ClientWireProtocol.SysQueriesRow
public static final class ClientWireProtocol.SysQueriesRow.Builder
extends GeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
implements ClientWireProtocol.SysQueriesRowOrBuilder
Protobuf type
xg.cmdcomp.SysQueriesRow-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs the message based on the state of the Builder.LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.clear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.string database = 9;float effective_priority = 2;int32 elapsed_time_sec = 6;int64 estimated_result_rows = 12;int64 estimated_result_size = 13;int32 estimated_time_sec = 3;float initial_effective_priority = 17;float initial_priority = 16;float priority_adjust_factor = 18;uint32 priority_adjust_time = 19;string query_id = 1;string query_server = 8;string remoteIP = 10;int64 sent_bytes = 15;int64 sent_rows = 14;string service_class = 11;string sql_text = 5;string status = 7;string userid = 4;string database = 9;string database = 9;Get an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.floatfloat effective_priority = 2;intint32 elapsed_time_sec = 6;longint64 estimated_result_rows = 12;longint64 estimated_result_size = 13;intint32 estimated_time_sec = 3;floatfloat initial_effective_priority = 17;floatfloat initial_priority = 16;floatfloat priority_adjust_factor = 18;intuint32 priority_adjust_time = 19;string query_id = 1;string query_id = 1;string query_server = 8;string query_server = 8;string remoteIP = 10;string remoteIP = 10;longint64 sent_bytes = 15;longint64 sent_rows = 14;string service_class = 11;string service_class = 11;string sql_text = 5;string sql_text = 5;string status = 7;string status = 7;string userid = 4;string userid = 4;protected GeneratedMessageV3.FieldAccessorTableGet the FieldAccessorTable for this type.final booleanReturns true if all required fields in the message and all embedded messages are set, false otherwise.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Mergeotherinto the message being built.mergeUnknownFields(UnknownFieldSet unknownFields) Merge some unknown fields into theUnknownFieldSetfor this message.setDatabase(String value) string database = 9;setDatabaseBytes(ByteString value) string database = 9;setEffectivePriority(float value) float effective_priority = 2;setElapsedTimeSec(int value) int32 elapsed_time_sec = 6;setEstimatedResultRows(long value) int64 estimated_result_rows = 12;setEstimatedResultSize(long value) int64 estimated_result_size = 13;setEstimatedTimeSec(int value) int32 estimated_time_sec = 3;setInitialEffectivePriority(float value) float initial_effective_priority = 17;setInitialPriority(float value) float initial_priority = 16;setPriorityAdjustFactor(float value) float priority_adjust_factor = 18;setPriorityAdjustTime(int value) uint32 priority_adjust_time = 19;setQueryId(String value) string query_id = 1;setQueryIdBytes(ByteString value) string query_id = 1;setQueryServer(String value) string query_server = 8;setQueryServerBytes(ByteString value) string query_server = 8;setRemoteIP(String value) string remoteIP = 10;setRemoteIPBytes(ByteString value) string remoteIP = 10;setSentBytes(long value) int64 sent_bytes = 15;setSentRows(long value) int64 sent_rows = 14;setServiceClass(String value) string service_class = 11;setServiceClassBytes(ByteString value) string service_class = 11;setSqlText(String value) string sql_text = 5;setSqlTextBytes(ByteString value) string sql_text = 5;string status = 7;setStatusBytes(ByteString value) string status = 7;setUnknownFields(UnknownFieldSet unknownFields) Set theUnknownFieldSetfor this message.string userid = 4;setUseridBytes(ByteString value) string userid = 4;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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
clear
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
getDescriptorForType
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
getDefaultInstanceForType
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
mergeFrom
public ClientWireProtocol.SysQueriesRow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<ClientWireProtocol.SysQueriesRow.Builder>- Throws:
InvalidProtocolBufferException- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.IOException- an I/O error reading from the stream
-
getQueryId
string query_id = 1;- Specified by:
getQueryIdin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The queryId.
-
getQueryIdBytes
string query_id = 1;- Specified by:
getQueryIdBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for queryId.
-
setQueryId
string query_id = 1;- Parameters:
value- The queryId to set.- Returns:
- This builder for chaining.
-
clearQueryId
string query_id = 1;- Returns:
- This builder for chaining.
-
setQueryIdBytes
string query_id = 1;- Parameters:
value- The bytes for queryId to set.- Returns:
- This builder for chaining.
-
getEffectivePriority
public float getEffectivePriority()float effective_priority = 2;- Specified by:
getEffectivePriorityin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The effectivePriority.
-
setEffectivePriority
float effective_priority = 2;- Parameters:
value- The effectivePriority to set.- Returns:
- This builder for chaining.
-
clearEffectivePriority
float effective_priority = 2;- Returns:
- This builder for chaining.
-
getEstimatedTimeSec
public int getEstimatedTimeSec()int32 estimated_time_sec = 3;- Specified by:
getEstimatedTimeSecin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The estimatedTimeSec.
-
setEstimatedTimeSec
int32 estimated_time_sec = 3;- Parameters:
value- The estimatedTimeSec to set.- Returns:
- This builder for chaining.
-
clearEstimatedTimeSec
int32 estimated_time_sec = 3;- Returns:
- This builder for chaining.
-
getUserid
string userid = 4;- Specified by:
getUseridin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The userid.
-
getUseridBytes
string userid = 4;- Specified by:
getUseridBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for userid.
-
setUserid
string userid = 4;- Parameters:
value- The userid to set.- Returns:
- This builder for chaining.
-
clearUserid
string userid = 4;- Returns:
- This builder for chaining.
-
setUseridBytes
string userid = 4;- Parameters:
value- The bytes for userid to set.- Returns:
- This builder for chaining.
-
getSqlText
string sql_text = 5;- Specified by:
getSqlTextin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The sqlText.
-
getSqlTextBytes
string sql_text = 5;- Specified by:
getSqlTextBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for sqlText.
-
setSqlText
string sql_text = 5;- Parameters:
value- The sqlText to set.- Returns:
- This builder for chaining.
-
clearSqlText
string sql_text = 5;- Returns:
- This builder for chaining.
-
setSqlTextBytes
string sql_text = 5;- Parameters:
value- The bytes for sqlText to set.- Returns:
- This builder for chaining.
-
getElapsedTimeSec
public int getElapsedTimeSec()int32 elapsed_time_sec = 6;- Specified by:
getElapsedTimeSecin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The elapsedTimeSec.
-
setElapsedTimeSec
int32 elapsed_time_sec = 6;- Parameters:
value- The elapsedTimeSec to set.- Returns:
- This builder for chaining.
-
clearElapsedTimeSec
int32 elapsed_time_sec = 6;- Returns:
- This builder for chaining.
-
getStatus
string status = 7;- Specified by:
getStatusin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The status.
-
getStatusBytes
string status = 7;- Specified by:
getStatusBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for status.
-
setStatus
string status = 7;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
string status = 7;- Returns:
- This builder for chaining.
-
setStatusBytes
string status = 7;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
getQueryServer
string query_server = 8;- Specified by:
getQueryServerin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The queryServer.
-
getQueryServerBytes
string query_server = 8;- Specified by:
getQueryServerBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for queryServer.
-
setQueryServer
string query_server = 8;- Parameters:
value- The queryServer to set.- Returns:
- This builder for chaining.
-
clearQueryServer
string query_server = 8;- Returns:
- This builder for chaining.
-
setQueryServerBytes
string query_server = 8;- Parameters:
value- The bytes for queryServer to set.- Returns:
- This builder for chaining.
-
getDatabase
string database = 9;- Specified by:
getDatabasein interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The database.
-
getDatabaseBytes
string database = 9;- Specified by:
getDatabaseBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for database.
-
setDatabase
string database = 9;- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
string database = 9;- Returns:
- This builder for chaining.
-
setDatabaseBytes
string database = 9;- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
getRemoteIP
string remoteIP = 10;- Specified by:
getRemoteIPin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The remoteIP.
-
getRemoteIPBytes
string remoteIP = 10;- Specified by:
getRemoteIPBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for remoteIP.
-
setRemoteIP
string remoteIP = 10;- Parameters:
value- The remoteIP to set.- Returns:
- This builder for chaining.
-
clearRemoteIP
string remoteIP = 10;- Returns:
- This builder for chaining.
-
setRemoteIPBytes
string remoteIP = 10;- Parameters:
value- The bytes for remoteIP to set.- Returns:
- This builder for chaining.
-
getServiceClass
string service_class = 11;- Specified by:
getServiceClassin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The serviceClass.
-
getServiceClassBytes
string service_class = 11;- Specified by:
getServiceClassBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The bytes for serviceClass.
-
setServiceClass
string service_class = 11;- Parameters:
value- The serviceClass to set.- Returns:
- This builder for chaining.
-
clearServiceClass
string service_class = 11;- Returns:
- This builder for chaining.
-
setServiceClassBytes
string service_class = 11;- Parameters:
value- The bytes for serviceClass to set.- Returns:
- This builder for chaining.
-
getEstimatedResultRows
public long getEstimatedResultRows()int64 estimated_result_rows = 12;- Specified by:
getEstimatedResultRowsin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The estimatedResultRows.
-
setEstimatedResultRows
int64 estimated_result_rows = 12;- Parameters:
value- The estimatedResultRows to set.- Returns:
- This builder for chaining.
-
clearEstimatedResultRows
int64 estimated_result_rows = 12;- Returns:
- This builder for chaining.
-
getEstimatedResultSize
public long getEstimatedResultSize()int64 estimated_result_size = 13;- Specified by:
getEstimatedResultSizein interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The estimatedResultSize.
-
setEstimatedResultSize
int64 estimated_result_size = 13;- Parameters:
value- The estimatedResultSize to set.- Returns:
- This builder for chaining.
-
clearEstimatedResultSize
int64 estimated_result_size = 13;- Returns:
- This builder for chaining.
-
getSentRows
public long getSentRows()int64 sent_rows = 14;- Specified by:
getSentRowsin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The sentRows.
-
setSentRows
int64 sent_rows = 14;- Parameters:
value- The sentRows to set.- Returns:
- This builder for chaining.
-
clearSentRows
int64 sent_rows = 14;- Returns:
- This builder for chaining.
-
getSentBytes
public long getSentBytes()int64 sent_bytes = 15;- Specified by:
getSentBytesin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The sentBytes.
-
setSentBytes
int64 sent_bytes = 15;- Parameters:
value- The sentBytes to set.- Returns:
- This builder for chaining.
-
clearSentBytes
int64 sent_bytes = 15;- Returns:
- This builder for chaining.
-
getInitialPriority
public float getInitialPriority()float initial_priority = 16;- Specified by:
getInitialPriorityin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The initialPriority.
-
setInitialPriority
float initial_priority = 16;- Parameters:
value- The initialPriority to set.- Returns:
- This builder for chaining.
-
clearInitialPriority
float initial_priority = 16;- Returns:
- This builder for chaining.
-
getInitialEffectivePriority
public float getInitialEffectivePriority()float initial_effective_priority = 17;- Specified by:
getInitialEffectivePriorityin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The initialEffectivePriority.
-
setInitialEffectivePriority
float initial_effective_priority = 17;- Parameters:
value- The initialEffectivePriority to set.- Returns:
- This builder for chaining.
-
clearInitialEffectivePriority
float initial_effective_priority = 17;- Returns:
- This builder for chaining.
-
getPriorityAdjustFactor
public float getPriorityAdjustFactor()float priority_adjust_factor = 18;- Specified by:
getPriorityAdjustFactorin interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The priorityAdjustFactor.
-
setPriorityAdjustFactor
float priority_adjust_factor = 18;- Parameters:
value- The priorityAdjustFactor to set.- Returns:
- This builder for chaining.
-
clearPriorityAdjustFactor
float priority_adjust_factor = 18;- Returns:
- This builder for chaining.
-
getPriorityAdjustTime
public int getPriorityAdjustTime()uint32 priority_adjust_time = 19;- Specified by:
getPriorityAdjustTimein interfaceClientWireProtocol.SysQueriesRowOrBuilder- Returns:
- The priorityAdjustTime.
-
setPriorityAdjustTime
uint32 priority_adjust_time = 19;- Parameters:
value- The priorityAdjustTime to set.- Returns:
- This builder for chaining.
-
clearPriorityAdjustTime
uint32 priority_adjust_time = 19;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClientWireProtocol.SysQueriesRow.Builder setUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-
mergeUnknownFields
public final ClientWireProtocol.SysQueriesRow.Builder mergeUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.SysQueriesRow.Builder>
-