Class InvalidTemplateParameters.Builder (0.49.0)

public static final class InvalidTemplateParameters.Builder extends GeneratedMessageV3.Builder<InvalidTemplateParameters.Builder> implements InvalidTemplateParametersOrBuilder

Used in the error_details field of a google.rpc.Status message, this indicates problems with the template parameter.

Protobuf type google.dataflow.v1beta3.InvalidTemplateParameters

Static Methods

getDescriptor()

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

Methods

addAllParameterViolations(Iterable<? extends InvalidTemplateParameters.ParameterViolation> values)

public InvalidTemplateParameters.Builder addAllParameterViolations(Iterable<? extends InvalidTemplateParameters.ParameterViolation> values)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation>
Returns
Type Description
InvalidTemplateParameters.Builder

addParameterViolations(InvalidTemplateParameters.ParameterViolation value)

public InvalidTemplateParameters.Builder addParameterViolations(InvalidTemplateParameters.ParameterViolation value)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
value InvalidTemplateParameters.ParameterViolation
Returns
Type Description
InvalidTemplateParameters.Builder

addParameterViolations(InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

public InvalidTemplateParameters.Builder addParameterViolations(InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
builderForValue InvalidTemplateParameters.ParameterViolation.Builder
Returns
Type Description
InvalidTemplateParameters.Builder

addParameterViolations(int index, InvalidTemplateParameters.ParameterViolation value)

public InvalidTemplateParameters.Builder addParameterViolations(int index, InvalidTemplateParameters.ParameterViolation value)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameters
Name Description
index int
value InvalidTemplateParameters.ParameterViolation
Returns
Type Description
InvalidTemplateParameters.Builder

addParameterViolations(int index, InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

public InvalidTemplateParameters.Builder addParameterViolations(int index, InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameters
Name Description
index int
builderForValue InvalidTemplateParameters.ParameterViolation.Builder
Returns
Type Description
InvalidTemplateParameters.Builder

addParameterViolationsBuilder()

public InvalidTemplateParameters.ParameterViolation.Builder addParameterViolationsBuilder()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
InvalidTemplateParameters.ParameterViolation.Builder

addParameterViolationsBuilder(int index)

public InvalidTemplateParameters.ParameterViolation.Builder addParameterViolationsBuilder(int index)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
index int
Returns
Type Description
InvalidTemplateParameters.ParameterViolation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InvalidTemplateParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

build()

public InvalidTemplateParameters build()
Returns
Type Description
InvalidTemplateParameters

buildPartial()

public InvalidTemplateParameters buildPartial()
Returns
Type Description
InvalidTemplateParameters

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InvalidTemplateParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InvalidTemplateParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

clearParameterViolations()

public InvalidTemplateParameters.Builder clearParameterViolations()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
InvalidTemplateParameters.Builder

clone()

public InvalidTemplateParameters.Builder clone()
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

getDefaultInstanceForType()

public InvalidTemplateParameters getDefaultInstanceForType()
Returns
Type Description
InvalidTemplateParameters

getDescriptorForType()

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

getParameterViolations(int index)

public InvalidTemplateParameters.ParameterViolation getParameterViolations(int index)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
index int
Returns
Type Description
InvalidTemplateParameters.ParameterViolation

getParameterViolationsBuilder(int index)

public InvalidTemplateParameters.ParameterViolation.Builder getParameterViolationsBuilder(int index)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
index int
Returns
Type Description
InvalidTemplateParameters.ParameterViolation.Builder

getParameterViolationsBuilderList()

public List<InvalidTemplateParameters.ParameterViolation.Builder> getParameterViolationsBuilderList()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
List<Builder>

getParameterViolationsCount()

public int getParameterViolationsCount()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
int

getParameterViolationsList()

public List<InvalidTemplateParameters.ParameterViolation> getParameterViolationsList()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
List<ParameterViolation>

getParameterViolationsOrBuilder(int index)

public InvalidTemplateParameters.ParameterViolationOrBuilder getParameterViolationsOrBuilder(int index)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
index int
Returns
Type Description
InvalidTemplateParameters.ParameterViolationOrBuilder

getParameterViolationsOrBuilderList()

public List<? extends InvalidTemplateParameters.ParameterViolationOrBuilder> getParameterViolationsOrBuilderList()

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InvalidTemplateParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InvalidTemplateParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

removeParameterViolations(int index)

public InvalidTemplateParameters.Builder removeParameterViolations(int index)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameter
Name Description
index int
Returns
Type Description
InvalidTemplateParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InvalidTemplateParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

setParameterViolations(int index, InvalidTemplateParameters.ParameterViolation value)

public InvalidTemplateParameters.Builder setParameterViolations(int index, InvalidTemplateParameters.ParameterViolation value)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameters
Name Description
index int
value InvalidTemplateParameters.ParameterViolation
Returns
Type Description
InvalidTemplateParameters.Builder

setParameterViolations(int index, InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

public InvalidTemplateParameters.Builder setParameterViolations(int index, InvalidTemplateParameters.ParameterViolation.Builder builderForValue)

Describes all parameter violations in a template request.

repeated .google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation parameter_violations = 1;

Parameters
Name Description
index int
builderForValue InvalidTemplateParameters.ParameterViolation.Builder
Returns
Type Description
InvalidTemplateParameters.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InvalidTemplateParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InvalidTemplateParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InvalidTemplateParameters.Builder
Overrides