Package ai.chalk.protos.chalk.common.v1
Class GetFeatureValuesChartRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest.Builder
- All Implemented Interfaces:
GetFeatureValuesChartRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetFeatureValuesChartRequest
public static final class GetFeatureValuesChartRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
implements GetFeatureValuesChartRequestOrBuilder
Protobuf type
chalk.common.v1.GetFeatureValuesChartRequest-
Method Summary
Modifier and TypeMethodDescriptionrepeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];addAggregateByValue(int value) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];addAllAggregateBy(Iterable<? extends FeatureValueAggregation> values) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];addAllAggregateByValue(Iterable<Integer> values) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];If not provided, will assume current time is the ending timeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearFqn()string fqn = 1 [json_name = "fqn"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) int64 start_ms = 4 [json_name = "startMs"];The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodclone()getAggregateBy(int index) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];intrepeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];intgetAggregateByValue(int index) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetEndMs()If not provided, will assume current time is the ending timegetFqn()string fqn = 1 [json_name = "fqn"];com.google.protobuf.ByteStringstring fqn = 1 [json_name = "fqn"];longint64 start_ms = 4 [json_name = "startMs"];The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodcom.google.protobuf.ByteStringThe size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodbooleanhasEndMs()If not provided, will assume current time is the ending timebooleanThe size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAggregateBy(int index, FeatureValueAggregation value) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];setAggregateByValue(int index, int value) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];setEndMs(long value) If not provided, will assume current time is the ending timestring fqn = 1 [json_name = "fqn"];setFqnBytes(com.google.protobuf.ByteString value) string fqn = 1 [json_name = "fqn"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartMs(long value) int64 start_ms = 4 [json_name = "startMs"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWindowPeriod(String value) The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodsetWindowPeriodBytes(com.google.protobuf.ByteString value) The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_periodMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.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.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
setField
public GetFeatureValuesChartRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
clearField
public GetFeatureValuesChartRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
clearOneof
public GetFeatureValuesChartRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
setRepeatedField
public GetFeatureValuesChartRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
addRepeatedField
public GetFeatureValuesChartRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetFeatureValuesChartRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
mergeFrom
public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>- Throws:
IOException
-
getFqn
string fqn = 1 [json_name = "fqn"];- Specified by:
getFqnin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The fqn.
-
getFqnBytes
public com.google.protobuf.ByteString getFqnBytes()string fqn = 1 [json_name = "fqn"];- Specified by:
getFqnBytesin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The bytes for fqn.
-
setFqn
string fqn = 1 [json_name = "fqn"];- Parameters:
value- The fqn to set.- Returns:
- This builder for chaining.
-
clearFqn
string fqn = 1 [json_name = "fqn"];- Returns:
- This builder for chaining.
-
setFqnBytes
string fqn = 1 [json_name = "fqn"];- Parameters:
value- The bytes for fqn to set.- Returns:
- This builder for chaining.
-
getAggregateByList
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Specified by:
getAggregateByListin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- A list containing the aggregateBy.
-
getAggregateByCount
public int getAggregateByCount()repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Specified by:
getAggregateByCountin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The count of aggregateBy.
-
getAggregateBy
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Specified by:
getAggregateByin interfaceGetFeatureValuesChartRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The aggregateBy at the given index.
-
setAggregateBy
public GetFeatureValuesChartRequest.Builder setAggregateBy(int index, FeatureValueAggregation value) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
index- The index to set the value at.value- The aggregateBy to set.- Returns:
- This builder for chaining.
-
addAggregateBy
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
value- The aggregateBy to add.- Returns:
- This builder for chaining.
-
addAllAggregateBy
public GetFeatureValuesChartRequest.Builder addAllAggregateBy(Iterable<? extends FeatureValueAggregation> values) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
values- The aggregateBy to add.- Returns:
- This builder for chaining.
-
clearAggregateBy
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Returns:
- This builder for chaining.
-
getAggregateByValueList
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Specified by:
getAggregateByValueListin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for aggregateBy.
-
getAggregateByValue
public int getAggregateByValue(int index) repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Specified by:
getAggregateByValuein interfaceGetFeatureValuesChartRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of aggregateBy at the given index.
-
setAggregateByValue
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for aggregateBy to set.- Returns:
- This builder for chaining.
-
addAggregateByValue
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
value- The enum numeric value on the wire for aggregateBy to add.- Returns:
- This builder for chaining.
-
addAllAggregateByValue
repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];- Parameters:
values- The enum numeric values on the wire for aggregateBy to add.- Returns:
- This builder for chaining.
-
hasWindowPeriod
public boolean hasWindowPeriod()The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Specified by:
hasWindowPeriodin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- Whether the windowPeriod field is set.
-
getWindowPeriod
The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Specified by:
getWindowPeriodin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The windowPeriod.
-
getWindowPeriodBytes
public com.google.protobuf.ByteString getWindowPeriodBytes()The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Specified by:
getWindowPeriodBytesin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The bytes for windowPeriod.
-
setWindowPeriod
The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Parameters:
value- The windowPeriod to set.- Returns:
- This builder for chaining.
-
clearWindowPeriod
The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Returns:
- This builder for chaining.
-
setWindowPeriodBytes
public GetFeatureValuesChartRequest.Builder setWindowPeriodBytes(com.google.protobuf.ByteString value) The size of each time bucket + how far apart time points are in the chart Ideally a divisor of the total window between end and start ms If not, the bucket aligned with end_ms will be of size total_window % window_period
optional string window_period = 3 [json_name = "windowPeriod"];- Parameters:
value- The bytes for windowPeriod to set.- Returns:
- This builder for chaining.
-
getStartMs
public long getStartMs()int64 start_ms = 4 [json_name = "startMs"];- Specified by:
getStartMsin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The startMs.
-
setStartMs
int64 start_ms = 4 [json_name = "startMs"];- Parameters:
value- The startMs to set.- Returns:
- This builder for chaining.
-
clearStartMs
int64 start_ms = 4 [json_name = "startMs"];- Returns:
- This builder for chaining.
-
hasEndMs
public boolean hasEndMs()If not provided, will assume current time is the ending time
optional int64 end_ms = 5 [json_name = "endMs"];- Specified by:
hasEndMsin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- Whether the endMs field is set.
-
getEndMs
public long getEndMs()If not provided, will assume current time is the ending time
optional int64 end_ms = 5 [json_name = "endMs"];- Specified by:
getEndMsin interfaceGetFeatureValuesChartRequestOrBuilder- Returns:
- The endMs.
-
setEndMs
If not provided, will assume current time is the ending time
optional int64 end_ms = 5 [json_name = "endMs"];- Parameters:
value- The endMs to set.- Returns:
- This builder for chaining.
-
clearEndMs
If not provided, will assume current time is the ending time
optional int64 end_ms = 5 [json_name = "endMs"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetFeatureValuesChartRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-
mergeUnknownFields
public final GetFeatureValuesChartRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
-