Class FeatureStatsAndAnomalySpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeatureStatsAndAnomalySpec.Builder>
com.google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomalySpec.Builder
- All Implemented Interfaces:
FeatureStatsAndAnomalySpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FeatureStatsAndAnomalySpec
public static final class FeatureStatsAndAnomalySpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FeatureStatsAndAnomalySpec.Builder>
implements FeatureStatsAndAnomalySpecOrBuilder
Defines how to select FeatureStatsAndAnomaly to be populated in response. If set, retrieves FeatureStatsAndAnomaly generated by FeatureMonitors based on this spec.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomalySpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStatsTimeRange(Interval value) Optional.setLatestStatsCount(int value) Optional.setStatsTimeRange(Interval value) Optional.setStatsTimeRange(Interval.Builder builderForValue) Optional.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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FeatureStatsAndAnomalySpec.Builder>
-
mergeFrom
public FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.Builder>- Throws:
IOException
-
hasLatestStatsCount
public boolean hasLatestStatsCount()Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.
optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLatestStatsCountin interfaceFeatureStatsAndAnomalySpecOrBuilder- Returns:
- Whether the latestStatsCount field is set.
-
getLatestStatsCount
public int getLatestStatsCount()Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.
optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLatestStatsCountin interfaceFeatureStatsAndAnomalySpecOrBuilder- Returns:
- The latestStatsCount.
-
setLatestStatsCount
Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.
optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The latestStatsCount to set.- Returns:
- This builder for chaining.
-
clearLatestStatsCount
Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.
optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasStatsTimeRange
public boolean hasStatsTimeRange()Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStatsTimeRangein interfaceFeatureStatsAndAnomalySpecOrBuilder- Returns:
- Whether the statsTimeRange field is set.
-
getStatsTimeRange
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatsTimeRangein interfaceFeatureStatsAndAnomalySpecOrBuilder- Returns:
- The statsTimeRange.
-
setStatsTimeRange
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setStatsTimeRange
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeStatsTimeRange
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearStatsTimeRange
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getStatsTimeRangeBuilder
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getStatsTimeRangeOrBuilder
Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.
.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatsTimeRangeOrBuilderin interfaceFeatureStatsAndAnomalySpecOrBuilder
-