public static final class AutoMlForecastingInputs.Granularity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder> implements AutoMlForecastingInputs.GranularityOrBuilder
A duration of time expressed in time granularity units.Protobuf type
google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity| Modifier and Type | Method and Description |
|---|---|
AutoMlForecastingInputs.Granularity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoMlForecastingInputs.Granularity |
build() |
AutoMlForecastingInputs.Granularity |
buildPartial() |
AutoMlForecastingInputs.Granularity.Builder |
clear() |
AutoMlForecastingInputs.Granularity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AutoMlForecastingInputs.Granularity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AutoMlForecastingInputs.Granularity.Builder |
clearQuantity()
The number of granularity_units between data points in the training
data.
|
AutoMlForecastingInputs.Granularity.Builder |
clearUnit()
The time granularity unit of this time period.
|
AutoMlForecastingInputs.Granularity.Builder |
clone() |
AutoMlForecastingInputs.Granularity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getQuantity()
The number of granularity_units between data points in the training
data.
|
String |
getUnit()
The time granularity unit of this time period.
|
com.google.protobuf.ByteString |
getUnitBytes()
The time granularity unit of this time period.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AutoMlForecastingInputs.Granularity.Builder |
mergeFrom(AutoMlForecastingInputs.Granularity other) |
AutoMlForecastingInputs.Granularity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AutoMlForecastingInputs.Granularity.Builder |
mergeFrom(com.google.protobuf.Message other) |
AutoMlForecastingInputs.Granularity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AutoMlForecastingInputs.Granularity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutoMlForecastingInputs.Granularity.Builder |
setQuantity(long value)
The number of granularity_units between data points in the training
data.
|
AutoMlForecastingInputs.Granularity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AutoMlForecastingInputs.Granularity.Builder |
setUnit(String value)
The time granularity unit of this time period.
|
AutoMlForecastingInputs.Granularity.Builder |
setUnitBytes(com.google.protobuf.ByteString value)
The time granularity unit of this time period.
|
AutoMlForecastingInputs.Granularity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AutoMlForecastingInputs.Granularity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AutoMlForecastingInputs.Granularity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AutoMlForecastingInputs.Granularity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder mergeFrom(AutoMlForecastingInputs.Granularity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public AutoMlForecastingInputs.Granularity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutoMlForecastingInputs.Granularity.Builder>IOExceptionpublic String getUnit()
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;getUnit in interface AutoMlForecastingInputs.GranularityOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;getUnitBytes in interface AutoMlForecastingInputs.GranularityOrBuilderpublic AutoMlForecastingInputs.Granularity.Builder setUnit(String value)
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;value - The unit to set.public AutoMlForecastingInputs.Granularity.Builder clearUnit()
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;public AutoMlForecastingInputs.Granularity.Builder setUnitBytes(com.google.protobuf.ByteString value)
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;value - The bytes for unit to set.public long getQuantity()
The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.
int64 quantity = 2;getQuantity in interface AutoMlForecastingInputs.GranularityOrBuilderpublic AutoMlForecastingInputs.Granularity.Builder setQuantity(long value)
The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.
int64 quantity = 2;value - The quantity to set.public AutoMlForecastingInputs.Granularity.Builder clearQuantity()
The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.
int64 quantity = 2;public final AutoMlForecastingInputs.Granularity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>public final AutoMlForecastingInputs.Granularity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>Copyright © 2024 Google LLC. All rights reserved.