public static final class FacetProperty.DateTimeBucketSpec.Builder extends GeneratedMessageV3.Builder<FacetProperty.DateTimeBucketSpec.Builder> implements FacetProperty.DateTimeBucketSpecOrBuilder
If bucket type is DATE, specify how date values are bucketized.
Protobuf type google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FacetProperty.DateTimeBucketSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FacetProperty.DateTimeBucketSpec build()
buildPartial()
public FacetProperty.DateTimeBucketSpec buildPartial()
clear()
public FacetProperty.DateTimeBucketSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FacetProperty.DateTimeBucketSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGranularity()
public FacetProperty.DateTimeBucketSpec.Builder clearGranularity()
Granularity of date type facet.
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FacetProperty.DateTimeBucketSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FacetProperty.DateTimeBucketSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public FacetProperty.DateTimeBucketSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGranularity()
public FacetProperty.DateTimeBucketSpec.Granularity getGranularity()
Granularity of date type facet.
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
getGranularityValue()
public int getGranularityValue()
Granularity of date type facet.
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for granularity.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FacetProperty.DateTimeBucketSpec other)
public FacetProperty.DateTimeBucketSpec.Builder mergeFrom(FacetProperty.DateTimeBucketSpec other)
public FacetProperty.DateTimeBucketSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FacetProperty.DateTimeBucketSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FacetProperty.DateTimeBucketSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FacetProperty.DateTimeBucketSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGranularity(FacetProperty.DateTimeBucketSpec.Granularity value)
public FacetProperty.DateTimeBucketSpec.Builder setGranularity(FacetProperty.DateTimeBucketSpec.Granularity value)
Granularity of date type facet.
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
setGranularityValue(int value)
public FacetProperty.DateTimeBucketSpec.Builder setGranularityValue(int value)
Granularity of date type facet.
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for granularity to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FacetProperty.DateTimeBucketSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FacetProperty.DateTimeBucketSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides