Class ValidationResult.Builder (1.42.0)

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

Contains the current validation results.

Protobuf type google.cloud.datastream.v1alpha1.ValidationResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datastream.v1alpha1.Validation>
Returns
Type Description
ValidationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
value Validation
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
builderForValue Validation.Builder
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameters
Name Description
index int
value Validation
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameters
Name Description
index int
builderForValue Validation.Builder
Returns
Type Description
ValidationResult.Builder

addValidationsBuilder()

public Validation.Builder addValidationsBuilder()

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

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

Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
index int
Returns
Type Description
Validation.Builder

build()

public ValidationResult build()
Returns
Type Description
ValidationResult

buildPartial()

public ValidationResult buildPartial()
Returns
Type Description
ValidationResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Returns
Type Description
ValidationResult.Builder

clone()

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

getDefaultInstanceForType()

public ValidationResult getDefaultInstanceForType()
Returns
Type Description
ValidationResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Returns
Type Description
List<Builder>

getValidationsCount()

public int getValidationsCount()

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

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

Returns
Type Description
int

getValidationsList()

public List<Validation> getValidationsList()

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

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

Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
index int
Returns
Type Description
ValidationOrBuilder

getValidationsOrBuilderList()

public List<? extends ValidationOrBuilder> getValidationsOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.cloud.datastream.v1alpha1.ValidationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidationResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameter
Name Description
index int
Returns
Type Description
ValidationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameters
Name Description
index int
value Validation
Returns
Type Description
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.v1alpha1.Validation validations = 1;

Parameters
Name Description
index int
builderForValue Validation.Builder
Returns
Type Description
ValidationResult.Builder