public static final class IntRange.Builder extends GeneratedMessage.Builder<IntRange.Builder> implements IntRangeOrBuilderInteger range type.
Protobuf type google.cloud.visionai.v1.IntRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IntRange.BuilderImplements
IntRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IntRange build()| Returns | |
|---|---|
| Type | Description |
IntRange |
|
buildPartial()
public IntRange buildPartial()| Returns | |
|---|---|
| Type | Description |
IntRange |
|
clear()
public IntRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
|
clearEnd()
public IntRange.Builder clearEnd()End of the int range.
optional int64 end = 2;
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
This builder for chaining. |
clearStart()
public IntRange.Builder clearStart()Start of the int range.
optional int64 start = 1;
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IntRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IntRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnd()
public long getEnd()End of the int range.
optional int64 end = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The end. |
getStart()
public long getStart()Start of the int range.
optional int64 start = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The start. |
hasEnd()
public boolean 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IntRange other)
public IntRange.Builder mergeFrom(IntRange other)| Parameter | |
|---|---|
| Name | Description |
other |
IntRange |
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IntRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IntRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
|
setEnd(long value)
public IntRange.Builder setEnd(long value)End of the int range.
optional int64 end = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe end to set. |
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
This builder for chaining. |
setStart(long value)
public IntRange.Builder setStart(long value)Start of the int range.
optional int64 start = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe start to set. |
| Returns | |
|---|---|
| Type | Description |
IntRange.Builder |
This builder for chaining. |