public static final class CompilationPosition.Builder extends GeneratedMessage.Builder<CompilationPosition.Builder> implements CompilationPositionOrBuilderCompilationPosition represents the location of a compilation diagnostic in rule text.
Protobuf type google.cloud.chronicle.v1.CompilationPosition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompilationPosition.BuilderImplements
CompilationPositionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CompilationPosition build()| Returns | |
|---|---|
| Type | Description |
CompilationPosition |
|
buildPartial()
public CompilationPosition buildPartial()| Returns | |
|---|---|
| Type | Description |
CompilationPosition |
|
clear()
public CompilationPosition.Builder clear()| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
|
clearEndColumn()
public CompilationPosition.Builder clearEndColumn()Output only. End column number, beginning at 1.
int32 end_column = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
clearEndLine()
public CompilationPosition.Builder clearEndLine()Output only. End line number, beginning at 1.
int32 end_line = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
clearStartColumn()
public CompilationPosition.Builder clearStartColumn()Output only. Start column number, beginning at 1.
int32 start_column = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
clearStartLine()
public CompilationPosition.Builder clearStartLine()Output only. Start line number, beginning at 1.
int32 start_line = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CompilationPosition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompilationPosition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndColumn()
public int getEndColumn()Output only. End column number, beginning at 1.
int32 end_column = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The endColumn. |
getEndLine()
public int getEndLine()Output only. End line number, beginning at 1.
int32 end_line = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The endLine. |
getStartColumn()
public int getStartColumn()Output only. Start column number, beginning at 1.
int32 start_column = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The startColumn. |
getStartLine()
public int getStartLine()Output only. Start line number, beginning at 1.
int32 start_line = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The startLine. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CompilationPosition other)
public CompilationPosition.Builder mergeFrom(CompilationPosition other)| Parameter | |
|---|---|
| Name | Description |
other |
CompilationPosition |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompilationPosition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CompilationPosition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
|
setEndColumn(int value)
public CompilationPosition.Builder setEndColumn(int value)Output only. End column number, beginning at 1.
int32 end_column = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe endColumn to set. |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
setEndLine(int value)
public CompilationPosition.Builder setEndLine(int value)Output only. End line number, beginning at 1.
int32 end_line = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe endLine to set. |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
setStartColumn(int value)
public CompilationPosition.Builder setStartColumn(int value)Output only. Start column number, beginning at 1.
int32 start_column = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe startColumn to set. |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |
setStartLine(int value)
public CompilationPosition.Builder setStartLine(int value)Output only. Start line number, beginning at 1.
int32 start_line = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe startLine to set. |
| Returns | |
|---|---|
| Type | Description |
CompilationPosition.Builder |
This builder for chaining. |