Class InvalidTemplateParameters.Builder

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

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
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation>
Returns
TypeDescription
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
NameDescription
valueInvalidTemplateParameters.ParameterViolation
Returns
TypeDescription
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
NameDescription
builderForValueInvalidTemplateParameters.ParameterViolation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInvalidTemplateParameters.ParameterViolation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInvalidTemplateParameters.ParameterViolation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InvalidTemplateParameters.ParameterViolation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InvalidTemplateParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

build()

public InvalidTemplateParameters build()
Returns
TypeDescription
InvalidTemplateParameters

buildPartial()

public InvalidTemplateParameters buildPartial()
Returns
TypeDescription
InvalidTemplateParameters

clear()

public InvalidTemplateParameters.Builder clear()
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InvalidTemplateParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InvalidTemplateParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InvalidTemplateParameters.Builder

clone()

public InvalidTemplateParameters.Builder clone()
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

getDefaultInstanceForType()

public InvalidTemplateParameters getDefaultInstanceForType()
Returns
TypeDescription
InvalidTemplateParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getParameterViolationsCount()

public int getParameterViolationsCount()

Describes all parameter violations in a template request.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InvalidTemplateParameters other)

public InvalidTemplateParameters.Builder mergeFrom(InvalidTemplateParameters other)
Parameter
NameDescription
otherInvalidTemplateParameters
Returns
TypeDescription
InvalidTemplateParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InvalidTemplateParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InvalidTemplateParameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InvalidTemplateParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InvalidTemplateParameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InvalidTemplateParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInvalidTemplateParameters.ParameterViolation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInvalidTemplateParameters.ParameterViolation.Builder
Returns
TypeDescription
InvalidTemplateParameters.Builder

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

public InvalidTemplateParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InvalidTemplateParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InvalidTemplateParameters.Builder
Overrides