Class ValidationResult.Builder (1.18.0)

public static final class ValidationResult.Builder extends GeneratedMessageV3.Builder<ValidationResult.Builder> implements ValidationResultOrBuilder

Contains the current validation results.

Protobuf type google.cloud.datastream.v1.ValidationResult

Static Methods

getDescriptor()

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

Methods

addAllValidations(Iterable<? extends Validation> values)

public ValidationResult.Builder addAllValidations(Iterable<? extends Validation> values)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1.Validation>
Returns
TypeDescription
ValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValidations(Validation value)

public ValidationResult.Builder addValidations(Validation value)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
valueValidation
Returns
TypeDescription
ValidationResult.Builder

addValidations(Validation.Builder builderForValue)

public ValidationResult.Builder addValidations(Validation.Builder builderForValue)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
builderForValueValidation.Builder
Returns
TypeDescription
ValidationResult.Builder

addValidations(int index, Validation value)

public ValidationResult.Builder addValidations(int index, Validation value)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameters
NameDescription
indexint
valueValidation
Returns
TypeDescription
ValidationResult.Builder

addValidations(int index, Validation.Builder builderForValue)

public ValidationResult.Builder addValidations(int index, Validation.Builder builderForValue)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameters
NameDescription
indexint
builderForValueValidation.Builder
Returns
TypeDescription
ValidationResult.Builder

addValidationsBuilder()

public Validation.Builder addValidationsBuilder()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
Validation.Builder

addValidationsBuilder(int index)

public Validation.Builder addValidationsBuilder(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Validation.Builder

build()

public ValidationResult build()
Returns
TypeDescription
ValidationResult

buildPartial()

public ValidationResult buildPartial()
Returns
TypeDescription
ValidationResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ValidationResult.Builder
Overrides

clearValidations()

public ValidationResult.Builder clearValidations()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
ValidationResult.Builder

clone()

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

getDefaultInstanceForType()

public ValidationResult getDefaultInstanceForType()
Returns
TypeDescription
ValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValidations(int index)

public Validation getValidations(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Validation

getValidationsBuilder(int index)

public Validation.Builder getValidationsBuilder(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Validation.Builder

getValidationsBuilderList()

public List<Validation.Builder> getValidationsBuilderList()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
List<Builder>

getValidationsCount()

public int getValidationsCount()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
int

getValidationsList()

public List<Validation> getValidationsList()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
List<Validation>

getValidationsOrBuilder(int index)

public ValidationOrBuilder getValidationsOrBuilder(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationOrBuilder

getValidationsOrBuilderList()

public List<? extends ValidationOrBuilder> getValidationsOrBuilderList()

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1.ValidationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidationResult other)

public ValidationResult.Builder mergeFrom(ValidationResult other)
Parameter
NameDescription
otherValidationResult
Returns
TypeDescription
ValidationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidationResult.Builder
Overrides

removeValidations(int index)

public ValidationResult.Builder removeValidations(int index)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidations(int index, Validation value)

public ValidationResult.Builder setValidations(int index, Validation value)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameters
NameDescription
indexint
valueValidation
Returns
TypeDescription
ValidationResult.Builder

setValidations(int index, Validation.Builder builderForValue)

public ValidationResult.Builder setValidations(int index, Validation.Builder builderForValue)

A list of validations (includes both executed as well as not executed validations).

repeated .google.cloud.datastream.v1.Validation validations = 1;

Parameters
NameDescription
indexint
builderForValueValidation.Builder
Returns
TypeDescription
ValidationResult.Builder