Class SuggestionStep.Builder (0.98.0)

public static final class SuggestionStep.Builder extends GeneratedMessage.Builder<SuggestionStep.Builder> implements SuggestionStepOrBuilder

Suggestion step to skip.

Protobuf type google.cloud.bigquery.migration.v2.SuggestionStep

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SuggestionStep build()
Returns
Type Description
SuggestionStep

buildPartial()

public SuggestionStep buildPartial()
Returns
Type Description
SuggestionStep

clear()

public SuggestionStep.Builder clear()
Returns
Type Description
SuggestionStep.Builder
Overrides

clearRewriteTarget()

public SuggestionStep.Builder clearRewriteTarget()

The rewrite target.

.google.cloud.bigquery.migration.v2.SuggestionStep.RewriteTarget rewrite_target = 2;

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.

clearSuggestionType()

public SuggestionStep.Builder clearSuggestionType()

The type of suggestion.

.google.cloud.bigquery.migration.v2.SuggestionStep.SuggestionType suggestion_type = 1;

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.

getDefaultInstanceForType()

public SuggestionStep getDefaultInstanceForType()
Returns
Type Description
SuggestionStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRewriteTarget()

public SuggestionStep.RewriteTarget getRewriteTarget()

The rewrite target.

.google.cloud.bigquery.migration.v2.SuggestionStep.RewriteTarget rewrite_target = 2;

Returns
Type Description
SuggestionStep.RewriteTarget

The rewriteTarget.

getRewriteTargetValue()

public int getRewriteTargetValue()

The rewrite target.

.google.cloud.bigquery.migration.v2.SuggestionStep.RewriteTarget rewrite_target = 2;

Returns
Type Description
int

The enum numeric value on the wire for rewriteTarget.

getSuggestionType()

public SuggestionStep.SuggestionType getSuggestionType()

The type of suggestion.

.google.cloud.bigquery.migration.v2.SuggestionStep.SuggestionType suggestion_type = 1;

Returns
Type Description
SuggestionStep.SuggestionType

The suggestionType.

getSuggestionTypeValue()

public int getSuggestionTypeValue()

The type of suggestion.

.google.cloud.bigquery.migration.v2.SuggestionStep.SuggestionType suggestion_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for suggestionType.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SuggestionStep other)

public SuggestionStep.Builder mergeFrom(SuggestionStep other)
Parameter
Name Description
other SuggestionStep
Returns
Type Description
SuggestionStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SuggestionStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SuggestionStep.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SuggestionStep.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SuggestionStep.Builder
Overrides

setRewriteTarget(SuggestionStep.RewriteTarget value)

public SuggestionStep.Builder setRewriteTarget(SuggestionStep.RewriteTarget value)

The rewrite target.

.google.cloud.bigquery.migration.v2.SuggestionStep.RewriteTarget rewrite_target = 2;

Parameter
Name Description
value SuggestionStep.RewriteTarget

The rewriteTarget to set.

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.

setRewriteTargetValue(int value)

public SuggestionStep.Builder setRewriteTargetValue(int value)

The rewrite target.

.google.cloud.bigquery.migration.v2.SuggestionStep.RewriteTarget rewrite_target = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for rewriteTarget to set.

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.

setSuggestionType(SuggestionStep.SuggestionType value)

public SuggestionStep.Builder setSuggestionType(SuggestionStep.SuggestionType value)

The type of suggestion.

.google.cloud.bigquery.migration.v2.SuggestionStep.SuggestionType suggestion_type = 1;

Parameter
Name Description
value SuggestionStep.SuggestionType

The suggestionType to set.

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.

setSuggestionTypeValue(int value)

public SuggestionStep.Builder setSuggestionTypeValue(int value)

The type of suggestion.

.google.cloud.bigquery.migration.v2.SuggestionStep.SuggestionType suggestion_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for suggestionType to set.

Returns
Type Description
SuggestionStep.Builder

This builder for chaining.