Package com.ocient.jdbc.proto
Class ClientWireProtocol.FetchSystemMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ClientWireProtocol.FetchSystemMetadata.Builder>
com.ocient.jdbc.proto.ClientWireProtocol.FetchSystemMetadata.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ClientWireProtocol.FetchSystemMetadataOrBuilder,Cloneable
- Enclosing class:
- ClientWireProtocol.FetchSystemMetadata
public static final class ClientWireProtocol.FetchSystemMetadata.Builder
extends GeneratedMessageV3.Builder<ClientWireProtocol.FetchSystemMetadata.Builder>
implements ClientWireProtocol.FetchSystemMetadataOrBuilder
Protobuf type
xg.cmdcomp.FetchSystemMetadata-
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..xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;string column = 4;Parameters for callsstring table = 3;whether to test against patternsstring view = 5;getCall().xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;int.xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;string column = 4;string column = 4;Get an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.Parameters for callsParameters for callsgetTable()string table = 3;string table = 3;booleangetTest()whether to test against patternsgetView()string view = 5;string view = 5;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..xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;setCallValue(int value) .xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;string column = 4;setColumnBytes(ByteString value) string column = 4;Parameters for callssetSchemaBytes(ByteString value) Parameters for callsstring table = 3;setTableBytes(ByteString value) string table = 3;setTest(boolean value) whether to test against patternssetUnknownFields(UnknownFieldSet unknownFields) Set theUnknownFieldSetfor this message.string view = 5;setViewBytes(ByteString value) string view = 5;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.FetchSystemMetadata.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.FetchSystemMetadata.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.FetchSystemMetadata.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.FetchSystemMetadata.Builder>
-
mergeFrom
public ClientWireProtocol.FetchSystemMetadata.Builder mergeFrom(ClientWireProtocol.FetchSystemMetadata other) -
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.FetchSystemMetadata.Builder>
-
mergeFrom
public ClientWireProtocol.FetchSystemMetadata.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.FetchSystemMetadata.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
-
getCallValue
public int getCallValue().xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;- Specified by:
getCallValuein interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The enum numeric value on the wire for call.
-
setCallValue
.xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;- Parameters:
value- The enum numeric value on the wire for call to set.- Returns:
- This builder for chaining.
-
getCall
.xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;- Specified by:
getCallin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The call.
-
setCall
public ClientWireProtocol.FetchSystemMetadata.Builder setCall(ClientWireProtocol.FetchSystemMetadata.SystemMetadataCall value) .xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;- Parameters:
value- The call to set.- Returns:
- This builder for chaining.
-
clearCall
.xg.cmdcomp.FetchSystemMetadata.SystemMetadataCall call = 1;- Returns:
- This builder for chaining.
-
getSchema
Parameters for calls
string schema = 2;- Specified by:
getSchemain interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The schema.
-
getSchemaBytes
Parameters for calls
string schema = 2;- Specified by:
getSchemaBytesin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The bytes for schema.
-
setSchema
Parameters for calls
string schema = 2;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
Parameters for calls
string schema = 2;- Returns:
- This builder for chaining.
-
setSchemaBytes
Parameters for calls
string schema = 2;- Parameters:
value- The bytes for schema to set.- Returns:
- This builder for chaining.
-
getTable
string table = 3;- Specified by:
getTablein interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The table.
-
getTableBytes
string table = 3;- Specified by:
getTableBytesin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The bytes for table.
-
setTable
string table = 3;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
string table = 3;- Returns:
- This builder for chaining.
-
setTableBytes
string table = 3;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
getColumn
string column = 4;- Specified by:
getColumnin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The column.
-
getColumnBytes
string column = 4;- Specified by:
getColumnBytesin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The bytes for column.
-
setColumn
string column = 4;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
string column = 4;- Returns:
- This builder for chaining.
-
setColumnBytes
string column = 4;- Parameters:
value- The bytes for column to set.- Returns:
- This builder for chaining.
-
getView
string view = 5;- Specified by:
getViewin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The view.
-
getViewBytes
string view = 5;- Specified by:
getViewBytesin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The bytes for view.
-
setView
string view = 5;- Parameters:
value- The view to set.- Returns:
- This builder for chaining.
-
clearView
string view = 5;- Returns:
- This builder for chaining.
-
setViewBytes
string view = 5;- Parameters:
value- The bytes for view to set.- Returns:
- This builder for chaining.
-
getTest
public boolean getTest()whether to test against patterns
bool test = 6;- Specified by:
getTestin interfaceClientWireProtocol.FetchSystemMetadataOrBuilder- Returns:
- The test.
-
setTest
whether to test against patterns
bool test = 6;- Parameters:
value- The test to set.- Returns:
- This builder for chaining.
-
clearTest
whether to test against patterns
bool test = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClientWireProtocol.FetchSystemMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<ClientWireProtocol.FetchSystemMetadata.Builder>
-
mergeUnknownFields
public final ClientWireProtocol.FetchSystemMetadata.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.FetchSystemMetadata.Builder>
-