public static final class AutoMlForecastingInputs.Granularity.Builder extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AutoMlForecastingInputs.Granularity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutoMlForecastingInputs.Granularity build()
public AutoMlForecastingInputs.Granularity buildPartial()
public AutoMlForecastingInputs.Granularity.Builder clear()
Overrides
public AutoMlForecastingInputs.Granularity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AutoMlForecastingInputs.Granularity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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 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 clone()
Overrides
public AutoMlForecastingInputs.Granularity getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
Type | Description |
long | The quantity.
|
The time granularity unit of this time period.
The supported units are:
- "minute"
- "hour"
- "day"
- "week"
- "month"
- "year"
string unit = 1;
Returns |
---|
Type | Description |
String | The unit.
|
public ByteString getUnitBytes()
The time granularity unit of this time period.
The supported units are:
- "minute"
- "hour"
- "day"
- "week"
- "month"
- "year"
string unit = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for unit.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AutoMlForecastingInputs.Granularity.Builder mergeFrom(AutoMlForecastingInputs.Granularity other)
public AutoMlForecastingInputs.Granularity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AutoMlForecastingInputs.Granularity.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final AutoMlForecastingInputs.Granularity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AutoMlForecastingInputs.Granularity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | long
The quantity to set.
|
public AutoMlForecastingInputs.Granularity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | String
The unit to set.
|
public AutoMlForecastingInputs.Granularity.Builder setUnitBytes(ByteString value)
The time granularity unit of this time period.
The supported units are:
- "minute"
- "hour"
- "day"
- "week"
- "month"
- "year"
string unit = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for unit to set.
|
public final AutoMlForecastingInputs.Granularity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides