public static final class IntRange.Builder extends GeneratedMessageV3.Builder<IntRange.Builder> implements IntRangeOrBuilder
Integer range type.
Protobuf type google.cloud.visionai.v1.IntRange
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 IntRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public IntRange buildPartial()
clear()
public IntRange.Builder clear()
Overrides
clearEnd()
public IntRange.Builder clearEnd()
End of the int range.
optional int64 end = 2;
clearField(Descriptors.FieldDescriptor field)
public IntRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IntRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public IntRange.Builder clearStart()
Start of the int range.
optional int64 start = 1;
clone()
public IntRange.Builder clone()
Overrides
getDefaultInstanceForType()
public IntRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
End of the int range.
optional int64 end = 2;
Returns |
Type |
Description |
long |
The end.
|
getStart()
Start of the int range.
optional int64 start = 1;
Returns |
Type |
Description |
long |
The start.
|
hasEnd()
End of the int range.
optional int64 end = 2;
Returns |
Type |
Description |
boolean |
Whether the end field is set.
|
hasStart()
public boolean hasStart()
Start of the int range.
optional int64 start = 1;
Returns |
Type |
Description |
boolean |
Whether the start field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IntRange other)
public IntRange.Builder mergeFrom(IntRange other)
Parameter |
Name |
Description |
other |
IntRange
|
public IntRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IntRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnd(long value)
public IntRange.Builder setEnd(long value)
End of the int range.
optional int64 end = 2;
Parameter |
Name |
Description |
value |
long
The end to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IntRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStart(long value)
public IntRange.Builder setStart(long value)
Start of the int range.
optional int64 start = 1;
Parameter |
Name |
Description |
value |
long
The start to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final IntRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides