Package com.google.cloud.chronicle.v1
Class ColumnMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
com.google.cloud.chronicle.v1.ColumnMetadata.Builder
- All Implemented Interfaces:
ColumnMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnMetadata
public static final class ColumnMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
implements ColumnMetadataOrBuilder
Metadata of the column.Protobuf type
google.cloud.chronicle.v1.ColumnMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Name of the column.Data source queried.Field path of the queried field, if any.Module of the function used to query the field, if any.Name of the function used to query the field, if any.Whether the column is a latitude field.Whether the column is a longitude field.Whether the column is selected in the final response.Timestamp MetadataWhether the column is unselected in the final response.Name of the column.com.google.protobuf.ByteStringName of the column.Data source queried.intData source queried.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorField path of the queried field, if any.com.google.protobuf.ByteStringField path of the queried field, if any.Module of the function used to query the field, if any.com.google.protobuf.ByteStringModule of the function used to query the field, if any.Name of the function used to query the field, if any.com.google.protobuf.ByteStringName of the function used to query the field, if any.booleanWhether the column is a latitude field.booleanWhether the column is a longitude field.booleanWhether the column is selected in the final response.Timestamp MetadataTimestamp MetadataTimestamp MetadatabooleanWhether the column is unselected in the final response.booleanTimestamp Metadataprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ColumnMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Timestamp MetadataName of the column.setColumnBytes(com.google.protobuf.ByteString value) Name of the column.setDataSource(DataSource value) Data source queried.setDataSourceValue(int value) Data source queried.setFieldPath(String value) Field path of the queried field, if any.setFieldPathBytes(com.google.protobuf.ByteString value) Field path of the queried field, if any.setFunctionModule(String value) Module of the function used to query the field, if any.setFunctionModuleBytes(com.google.protobuf.ByteString value) Module of the function used to query the field, if any.setFunctionName(String value) Name of the function used to query the field, if any.setFunctionNameBytes(com.google.protobuf.ByteString value) Name of the function used to query the field, if any.setLatitude(boolean value) Whether the column is a latitude field.setLongitude(boolean value) Whether the column is a longitude field.setSelected(boolean value) Whether the column is selected in the final response.Timestamp MetadatasetTimestampMetadata(TimestampMetadata.Builder builderForValue) Timestamp MetadatasetUnselected(boolean value) Whether the column is unselected in the final response.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ColumnMetadata.Builder>
-
mergeFrom
public ColumnMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnMetadata.Builder>- Throws:
IOException
-
getColumn
Name of the column.
string column = 1;- Specified by:
getColumnin interfaceColumnMetadataOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()Name of the column.
string column = 1;- Specified by:
getColumnBytesin interfaceColumnMetadataOrBuilder- Returns:
- The bytes for column.
-
setColumn
Name of the column.
string column = 1;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
Name of the column.
string column = 1;- Returns:
- This builder for chaining.
-
setColumnBytes
Name of the column.
string column = 1;- Parameters:
value- The bytes for column to set.- Returns:
- This builder for chaining.
-
getFieldPath
Field path of the queried field, if any.
string field_path = 2;- Specified by:
getFieldPathin interfaceColumnMetadataOrBuilder- Returns:
- The fieldPath.
-
getFieldPathBytes
public com.google.protobuf.ByteString getFieldPathBytes()Field path of the queried field, if any.
string field_path = 2;- Specified by:
getFieldPathBytesin interfaceColumnMetadataOrBuilder- Returns:
- The bytes for fieldPath.
-
setFieldPath
Field path of the queried field, if any.
string field_path = 2;- Parameters:
value- The fieldPath to set.- Returns:
- This builder for chaining.
-
clearFieldPath
Field path of the queried field, if any.
string field_path = 2;- Returns:
- This builder for chaining.
-
setFieldPathBytes
Field path of the queried field, if any.
string field_path = 2;- Parameters:
value- The bytes for fieldPath to set.- Returns:
- This builder for chaining.
-
getFunctionName
Name of the function used to query the field, if any.
string function_name = 3;- Specified by:
getFunctionNamein interfaceColumnMetadataOrBuilder- Returns:
- The functionName.
-
getFunctionNameBytes
public com.google.protobuf.ByteString getFunctionNameBytes()Name of the function used to query the field, if any.
string function_name = 3;- Specified by:
getFunctionNameBytesin interfaceColumnMetadataOrBuilder- Returns:
- The bytes for functionName.
-
setFunctionName
Name of the function used to query the field, if any.
string function_name = 3;- Parameters:
value- The functionName to set.- Returns:
- This builder for chaining.
-
clearFunctionName
Name of the function used to query the field, if any.
string function_name = 3;- Returns:
- This builder for chaining.
-
setFunctionNameBytes
Name of the function used to query the field, if any.
string function_name = 3;- Parameters:
value- The bytes for functionName to set.- Returns:
- This builder for chaining.
-
getFunctionModule
Module of the function used to query the field, if any.
string function_module = 4;- Specified by:
getFunctionModulein interfaceColumnMetadataOrBuilder- Returns:
- The functionModule.
-
getFunctionModuleBytes
public com.google.protobuf.ByteString getFunctionModuleBytes()Module of the function used to query the field, if any.
string function_module = 4;- Specified by:
getFunctionModuleBytesin interfaceColumnMetadataOrBuilder- Returns:
- The bytes for functionModule.
-
setFunctionModule
Module of the function used to query the field, if any.
string function_module = 4;- Parameters:
value- The functionModule to set.- Returns:
- This builder for chaining.
-
clearFunctionModule
Module of the function used to query the field, if any.
string function_module = 4;- Returns:
- This builder for chaining.
-
setFunctionModuleBytes
Module of the function used to query the field, if any.
string function_module = 4;- Parameters:
value- The bytes for functionModule to set.- Returns:
- This builder for chaining.
-
getDataSourceValue
public int getDataSourceValue()Data source queried.
.google.cloud.chronicle.v1.DataSource data_source = 5;- Specified by:
getDataSourceValuein interfaceColumnMetadataOrBuilder- Returns:
- The enum numeric value on the wire for dataSource.
-
setDataSourceValue
Data source queried.
.google.cloud.chronicle.v1.DataSource data_source = 5;- Parameters:
value- The enum numeric value on the wire for dataSource to set.- Returns:
- This builder for chaining.
-
getDataSource
Data source queried.
.google.cloud.chronicle.v1.DataSource data_source = 5;- Specified by:
getDataSourcein interfaceColumnMetadataOrBuilder- Returns:
- The dataSource.
-
setDataSource
Data source queried.
.google.cloud.chronicle.v1.DataSource data_source = 5;- Parameters:
value- The dataSource to set.- Returns:
- This builder for chaining.
-
clearDataSource
Data source queried.
.google.cloud.chronicle.v1.DataSource data_source = 5;- Returns:
- This builder for chaining.
-
hasTimestampMetadata
public boolean hasTimestampMetadata()Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;- Specified by:
hasTimestampMetadatain interfaceColumnMetadataOrBuilder- Returns:
- Whether the timestampMetadata field is set.
-
getTimestampMetadata
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;- Specified by:
getTimestampMetadatain interfaceColumnMetadataOrBuilder- Returns:
- The timestampMetadata.
-
setTimestampMetadata
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6; -
setTimestampMetadata
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6; -
mergeTimestampMetadata
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6; -
clearTimestampMetadata
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6; -
getTimestampMetadataBuilder
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6; -
getTimestampMetadataOrBuilder
Timestamp Metadata
.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;- Specified by:
getTimestampMetadataOrBuilderin interfaceColumnMetadataOrBuilder
-
getLongitude
public boolean getLongitude()Whether the column is a longitude field.
bool longitude = 7;- Specified by:
getLongitudein interfaceColumnMetadataOrBuilder- Returns:
- The longitude.
-
setLongitude
Whether the column is a longitude field.
bool longitude = 7;- Parameters:
value- The longitude to set.- Returns:
- This builder for chaining.
-
clearLongitude
Whether the column is a longitude field.
bool longitude = 7;- Returns:
- This builder for chaining.
-
getLatitude
public boolean getLatitude()Whether the column is a latitude field.
bool latitude = 8;- Specified by:
getLatitudein interfaceColumnMetadataOrBuilder- Returns:
- The latitude.
-
setLatitude
Whether the column is a latitude field.
bool latitude = 8;- Parameters:
value- The latitude to set.- Returns:
- This builder for chaining.
-
clearLatitude
Whether the column is a latitude field.
bool latitude = 8;- Returns:
- This builder for chaining.
-
getSelected
public boolean getSelected()Whether the column is selected in the final response.
bool selected = 9;- Specified by:
getSelectedin interfaceColumnMetadataOrBuilder- Returns:
- The selected.
-
setSelected
Whether the column is selected in the final response.
bool selected = 9;- Parameters:
value- The selected to set.- Returns:
- This builder for chaining.
-
clearSelected
Whether the column is selected in the final response.
bool selected = 9;- Returns:
- This builder for chaining.
-
getUnselected
public boolean getUnselected()Whether the column is unselected in the final response.
bool unselected = 10;- Specified by:
getUnselectedin interfaceColumnMetadataOrBuilder- Returns:
- The unselected.
-
setUnselected
Whether the column is unselected in the final response.
bool unselected = 10;- Parameters:
value- The unselected to set.- Returns:
- This builder for chaining.
-
clearUnselected
Whether the column is unselected in the final response.
bool unselected = 10;- Returns:
- This builder for chaining.
-