Class AutoMlForecastingInputs.Granularity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
- com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity.Builder
-
- All Implemented Interfaces:
AutoMlForecastingInputs.GranularityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutoMlForecastingInputs.Granularity
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 typegoogle.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoMlForecastingInputs.Granularity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutoMlForecastingInputs.Granularitybuild()AutoMlForecastingInputs.GranularitybuildPartial()AutoMlForecastingInputs.Granularity.Builderclear()AutoMlForecastingInputs.Granularity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AutoMlForecastingInputs.Granularity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AutoMlForecastingInputs.Granularity.BuilderclearQuantity()The number of granularity_units between data points in the training data.AutoMlForecastingInputs.Granularity.BuilderclearUnit()The time granularity unit of this time period.AutoMlForecastingInputs.Granularity.Builderclone()AutoMlForecastingInputs.GranularitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetQuantity()The number of granularity_units between data points in the training data.StringgetUnit()The time granularity unit of this time period.com.google.protobuf.ByteStringgetUnitBytes()The time granularity unit of this time period.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AutoMlForecastingInputs.Granularity.BuildermergeFrom(AutoMlForecastingInputs.Granularity other)AutoMlForecastingInputs.Granularity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AutoMlForecastingInputs.Granularity.BuildermergeFrom(com.google.protobuf.Message other)AutoMlForecastingInputs.Granularity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AutoMlForecastingInputs.Granularity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutoMlForecastingInputs.Granularity.BuildersetQuantity(long value)The number of granularity_units between data points in the training data.AutoMlForecastingInputs.Granularity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AutoMlForecastingInputs.Granularity.BuildersetUnit(String value)The time granularity unit of this time period.AutoMlForecastingInputs.Granularity.BuildersetUnitBytes(com.google.protobuf.ByteString value)The time granularity unit of this time period.AutoMlForecastingInputs.Granularity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<AutoMlForecastingInputs.Granularity.Builder>
-
clear
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>
-
getDefaultInstanceForType
public AutoMlForecastingInputs.Granularity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutoMlForecastingInputs.Granularity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutoMlForecastingInputs.Granularity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>
-
setField
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>
-
clearField
public AutoMlForecastingInputs.Granularity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
clearOneof
public AutoMlForecastingInputs.Granularity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
setRepeatedField
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>
-
addRepeatedField
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>
-
mergeFrom
public AutoMlForecastingInputs.Granularity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
mergeFrom
public AutoMlForecastingInputs.Granularity.Builder mergeFrom(AutoMlForecastingInputs.Granularity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
mergeFrom
public AutoMlForecastingInputs.Granularity.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<AutoMlForecastingInputs.Granularity.Builder>- Throws:
IOException
-
getUnit
public String getUnit()
The time granularity unit of this time period. The supported units are: * "minute" * "hour" * "day" * "week" * "month" * "year"
string unit = 1;- Specified by:
getUnitin interfaceAutoMlForecastingInputs.GranularityOrBuilder- Returns:
- The unit.
-
getUnitBytes
public 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;- Specified by:
getUnitBytesin interfaceAutoMlForecastingInputs.GranularityOrBuilder- Returns:
- The bytes for unit.
-
setUnit
public 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;- Parameters:
value- The unit to set.- Returns:
- This builder for chaining.
-
clearUnit
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;- Returns:
- This builder for chaining.
-
setUnitBytes
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;- Parameters:
value- The bytes for unit to set.- Returns:
- This builder for chaining.
-
getQuantity
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;- Specified by:
getQuantityin interfaceAutoMlForecastingInputs.GranularityOrBuilder- Returns:
- The quantity.
-
setQuantity
public 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;- Parameters:
value- The quantity to set.- Returns:
- This builder for chaining.
-
clearQuantity
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AutoMlForecastingInputs.Granularity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
mergeUnknownFields
public final AutoMlForecastingInputs.Granularity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlForecastingInputs.Granularity.Builder>
-
-