Class Interval.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Interval.Builder>
com.google.cloud.discoveryengine.v1beta.Interval.Builder
- All Implemented Interfaces:
IntervalOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Interval
public static final class Interval.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Interval.Builder>
implements IntervalOrBuilder
A floating point interval.Protobuf type
google.cloud.discoveryengine.v1beta.Interval-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Exclusive upper bound.Exclusive lower bound.clearMax()Inclusive upper bound.clearMin()Inclusive lower bound.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleExclusive upper bound.doubleExclusive lower bound.doubleInclusive upper bound.doubleInclusive lower bound.booleanExclusive upper bound.booleanExclusive lower bound.booleanInclusive upper bound.booleanInclusive lower bound.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExclusiveMaximum(double value) Exclusive upper bound.setExclusiveMinimum(double value) Exclusive lower bound.setMaximum(double value) Inclusive upper bound.setMinimum(double value) Inclusive lower bound.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<Interval.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<Interval.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<Interval.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<Interval.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Interval.Builder>
-
mergeFrom
public Interval.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<Interval.Builder>- Throws:
IOException
-
getMinCase
- Specified by:
getMinCasein interfaceIntervalOrBuilder
-
clearMin
-
getMaxCase
- Specified by:
getMaxCasein interfaceIntervalOrBuilder
-
clearMax
-
hasMinimum
public boolean hasMinimum()Inclusive lower bound.
double minimum = 1;- Specified by:
hasMinimumin interfaceIntervalOrBuilder- Returns:
- Whether the minimum field is set.
-
getMinimum
public double getMinimum()Inclusive lower bound.
double minimum = 1;- Specified by:
getMinimumin interfaceIntervalOrBuilder- Returns:
- The minimum.
-
setMinimum
Inclusive lower bound.
double minimum = 1;- Parameters:
value- The minimum to set.- Returns:
- This builder for chaining.
-
clearMinimum
Inclusive lower bound.
double minimum = 1;- Returns:
- This builder for chaining.
-
hasExclusiveMinimum
public boolean hasExclusiveMinimum()Exclusive lower bound.
double exclusive_minimum = 2;- Specified by:
hasExclusiveMinimumin interfaceIntervalOrBuilder- Returns:
- Whether the exclusiveMinimum field is set.
-
getExclusiveMinimum
public double getExclusiveMinimum()Exclusive lower bound.
double exclusive_minimum = 2;- Specified by:
getExclusiveMinimumin interfaceIntervalOrBuilder- Returns:
- The exclusiveMinimum.
-
setExclusiveMinimum
Exclusive lower bound.
double exclusive_minimum = 2;- Parameters:
value- The exclusiveMinimum to set.- Returns:
- This builder for chaining.
-
clearExclusiveMinimum
Exclusive lower bound.
double exclusive_minimum = 2;- Returns:
- This builder for chaining.
-
hasMaximum
public boolean hasMaximum()Inclusive upper bound.
double maximum = 3;- Specified by:
hasMaximumin interfaceIntervalOrBuilder- Returns:
- Whether the maximum field is set.
-
getMaximum
public double getMaximum()Inclusive upper bound.
double maximum = 3;- Specified by:
getMaximumin interfaceIntervalOrBuilder- Returns:
- The maximum.
-
setMaximum
Inclusive upper bound.
double maximum = 3;- Parameters:
value- The maximum to set.- Returns:
- This builder for chaining.
-
clearMaximum
Inclusive upper bound.
double maximum = 3;- Returns:
- This builder for chaining.
-
hasExclusiveMaximum
public boolean hasExclusiveMaximum()Exclusive upper bound.
double exclusive_maximum = 4;- Specified by:
hasExclusiveMaximumin interfaceIntervalOrBuilder- Returns:
- Whether the exclusiveMaximum field is set.
-
getExclusiveMaximum
public double getExclusiveMaximum()Exclusive upper bound.
double exclusive_maximum = 4;- Specified by:
getExclusiveMaximumin interfaceIntervalOrBuilder- Returns:
- The exclusiveMaximum.
-
setExclusiveMaximum
Exclusive upper bound.
double exclusive_maximum = 4;- Parameters:
value- The exclusiveMaximum to set.- Returns:
- This builder for chaining.
-
clearExclusiveMaximum
Exclusive upper bound.
double exclusive_maximum = 4;- Returns:
- This builder for chaining.
-