public static final class CodeRange.Builder extends GeneratedMessage.Builder<CodeRange.Builder> implements CodeRangeOrBuilderCodeRange represents a portion of code.
Protobuf type google.cloud.designcenter.v1.CodeRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CodeRange.BuilderImplements
CodeRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CodeRange build()| Returns | |
|---|---|
| Type | Description |
CodeRange |
|
buildPartial()
public CodeRange buildPartial()| Returns | |
|---|---|
| Type | Description |
CodeRange |
|
clear()
public CodeRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
clearEnd()
public CodeRange.Builder clearEnd()Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
clearStart()
public CodeRange.Builder clearStart()Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
getDefaultInstanceForType()
public CodeRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CodeRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnd()
public CodePosition getEnd()Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePosition |
The end. |
getEndBuilder()
public CodePosition.Builder getEndBuilder()Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePosition.Builder |
|
getEndOrBuilder()
public CodePositionOrBuilder getEndOrBuilder()Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePositionOrBuilder |
|
getStart()
public CodePosition getStart()Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePosition |
The start. |
getStartBuilder()
public CodePosition.Builder getStartBuilder()Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePosition.Builder |
|
getStartOrBuilder()
public CodePositionOrBuilder getStartOrBuilder()Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CodePositionOrBuilder |
|
hasEnd()
public boolean hasEnd()Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the end field is set. |
hasStart()
public boolean hasStart()Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 |
|
mergeEnd(CodePosition value)
public CodeRange.Builder mergeEnd(CodePosition value)Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CodePosition |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
mergeFrom(CodeRange other)
public CodeRange.Builder mergeFrom(CodeRange other)| Parameter | |
|---|---|
| Name | Description |
other |
CodeRange |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CodeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CodeRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
mergeStart(CodePosition value)
public CodeRange.Builder mergeStart(CodePosition value)Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CodePosition |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
setEnd(CodePosition value)
public CodeRange.Builder setEnd(CodePosition value)Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CodePosition |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
setEnd(CodePosition.Builder builderForValue)
public CodeRange.Builder setEnd(CodePosition.Builder builderForValue)Output only. End position.
.google.cloud.designcenter.v1.CodePosition end = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CodePosition.Builder |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
setStart(CodePosition value)
public CodeRange.Builder setStart(CodePosition value)Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CodePosition |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|
setStart(CodePosition.Builder builderForValue)
public CodeRange.Builder setStart(CodePosition.Builder builderForValue)Output only. Start position.
.google.cloud.designcenter.v1.CodePosition start = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CodePosition.Builder |
| Returns | |
|---|---|
| Type | Description |
CodeRange.Builder |
|