Class ValidationResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
- com.google.cloud.datastream.v1alpha1.ValidationResult.Builder
-
- All Implemented Interfaces:
ValidationResultOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ValidationResult
public static final class ValidationResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder> implements ValidationResultOrBuilder
Contains the current validation results.
Protobuf typegoogle.cloud.datastream.v1alpha1.ValidationResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResult.Builder
addAllValidations(Iterable<? extends Validation> values)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ValidationResult.Builder
addValidations(int index, Validation value)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
addValidations(int index, Validation.Builder builderForValue)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
addValidations(Validation value)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
addValidations(Validation.Builder builderForValue)
A list of validations (includes both executed as well as not executed validations).Validation.Builder
addValidationsBuilder()
A list of validations (includes both executed as well as not executed validations).Validation.Builder
addValidationsBuilder(int index)
A list of validations (includes both executed as well as not executed validations).ValidationResult
build()
ValidationResult
buildPartial()
ValidationResult.Builder
clear()
ValidationResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ValidationResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ValidationResult.Builder
clearValidations()
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
clone()
ValidationResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Validation
getValidations(int index)
A list of validations (includes both executed as well as not executed validations).Validation.Builder
getValidationsBuilder(int index)
A list of validations (includes both executed as well as not executed validations).List<Validation.Builder>
getValidationsBuilderList()
A list of validations (includes both executed as well as not executed validations).int
getValidationsCount()
A list of validations (includes both executed as well as not executed validations).List<Validation>
getValidationsList()
A list of validations (includes both executed as well as not executed validations).ValidationOrBuilder
getValidationsOrBuilder(int index)
A list of validations (includes both executed as well as not executed validations).List<? extends ValidationOrBuilder>
getValidationsOrBuilderList()
A list of validations (includes both executed as well as not executed validations).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ValidationResult.Builder
mergeFrom(ValidationResult other)
ValidationResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ValidationResult.Builder
mergeFrom(com.google.protobuf.Message other)
ValidationResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValidationResult.Builder
removeValidations(int index)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ValidationResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ValidationResult.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValidationResult.Builder
setValidations(int index, Validation value)
A list of validations (includes both executed as well as not executed validations).ValidationResult.Builder
setValidations(int index, Validation.Builder builderForValue)
A list of validations (includes both executed as well as not executed validations).-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
clear
public ValidationResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
getDefaultInstanceForType
public ValidationResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValidationResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValidationResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValidationResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
setField
public ValidationResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
clearField
public ValidationResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
clearOneof
public ValidationResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
setRepeatedField
public ValidationResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
addRepeatedField
public ValidationResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
mergeFrom
public ValidationResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValidationResult.Builder>
-
mergeFrom
public ValidationResult.Builder mergeFrom(ValidationResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
mergeFrom
public ValidationResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValidationResult.Builder>
- Throws:
IOException
-
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;
- Specified by:
getValidationsList
in interfaceValidationResultOrBuilder
-
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;
- Specified by:
getValidationsCount
in interfaceValidationResultOrBuilder
-
getValidations
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;
- Specified by:
getValidations
in interfaceValidationResultOrBuilder
-
setValidations
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;
-
setValidations
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;
-
addValidations
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;
-
addValidations
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;
-
addValidations
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;
-
addValidations
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;
-
addAllValidations
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;
-
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;
-
removeValidations
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;
-
getValidationsBuilder
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;
-
getValidationsOrBuilder
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;
- Specified by:
getValidationsOrBuilder
in interfaceValidationResultOrBuilder
-
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;
- Specified by:
getValidationsOrBuilderList
in interfaceValidationResultOrBuilder
-
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;
-
addValidationsBuilder
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;
-
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;
-
setUnknownFields
public final ValidationResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
mergeUnknownFields
public final ValidationResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValidationResult.Builder>
-
-