public static final class Validation.Builder extends GeneratedMessageV3.Builder<Validation.Builder> implements ValidationOrBuilderA validation to perform on a stream.
Protobuf type google.cloud.datastream.v1.Validation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Validation.BuilderImplements
ValidationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllMessage(Iterable<? extends ValidationMessage> values)
public Validation.Builder addAllMessage(Iterable<? extends ValidationMessage> values)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| values | Iterable<? extends com.google.cloud.datastream.v1.ValidationMessage> |
| Type | Description |
| Validation.Builder |
addMessage(ValidationMessage value)
public Validation.Builder addMessage(ValidationMessage value)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| value | ValidationMessage |
| Type | Description |
| Validation.Builder |
addMessage(ValidationMessage.Builder builderForValue)
public Validation.Builder addMessage(ValidationMessage.Builder builderForValue)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| builderForValue | ValidationMessage.Builder |
| Type | Description |
| Validation.Builder |
addMessage(int index, ValidationMessage value)
public Validation.Builder addMessage(int index, ValidationMessage value)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| value | ValidationMessage |
| Type | Description |
| Validation.Builder |
addMessage(int index, ValidationMessage.Builder builderForValue)
public Validation.Builder addMessage(int index, ValidationMessage.Builder builderForValue)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| builderForValue | ValidationMessage.Builder |
| Type | Description |
| Validation.Builder |
addMessageBuilder()
public ValidationMessage.Builder addMessageBuilder()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| ValidationMessage.Builder |
addMessageBuilder(int index)
public ValidationMessage.Builder addMessageBuilder(int index)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| Type | Description |
| ValidationMessage.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Validation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Validation.Builder |
build()
public Validation build()| Type | Description |
| Validation |
buildPartial()
public Validation buildPartial()| Type | Description |
| Validation |
clear()
public Validation.Builder clear()| Type | Description |
| Validation.Builder |
clearCode()
public Validation.Builder clearCode()A custom code identifying this validation.
string code = 4;
| Type | Description |
| Validation.Builder | This builder for chaining. |
clearDescription()
public Validation.Builder clearDescription()A short description of the validation.
string description = 1;
| Type | Description |
| Validation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Validation.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Validation.Builder |
clearMessage()
public Validation.Builder clearMessage()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| Validation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Validation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Validation.Builder |
clearState()
public Validation.Builder clearState()Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
| Type | Description |
| Validation.Builder | This builder for chaining. |
clone()
public Validation.Builder clone()| Type | Description |
| Validation.Builder |
getCode()
public String getCode()A custom code identifying this validation.
string code = 4;
| Type | Description |
| String | The code. |
getCodeBytes()
public ByteString getCodeBytes()A custom code identifying this validation.
string code = 4;
| Type | Description |
| ByteString | The bytes for code. |
getDefaultInstanceForType()
public Validation getDefaultInstanceForType()| Type | Description |
| Validation |
getDescription()
public String getDescription()A short description of the validation.
string description = 1;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A short description of the validation.
string description = 1;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getMessage(int index)
public ValidationMessage getMessage(int index)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| Type | Description |
| ValidationMessage |
getMessageBuilder(int index)
public ValidationMessage.Builder getMessageBuilder(int index)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| Type | Description |
| ValidationMessage.Builder |
getMessageBuilderList()
public List<ValidationMessage.Builder> getMessageBuilderList()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| List<Builder> |
getMessageCount()
public int getMessageCount()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| int |
getMessageList()
public List<ValidationMessage> getMessageList()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| List<ValidationMessage> |
getMessageOrBuilder(int index)
public ValidationMessageOrBuilder getMessageOrBuilder(int index)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| Type | Description |
| ValidationMessageOrBuilder |
getMessageOrBuilderList()
public List<? extends ValidationMessageOrBuilder> getMessageOrBuilderList()Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Type | Description |
| List<? extends com.google.cloud.datastream.v1.ValidationMessageOrBuilder> |
getState()
public Validation.State getState()Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
| Type | Description |
| Validation.State | The state. |
getStateValue()
public int getStateValue()Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
| Type | Description |
| int | The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Validation other)
public Validation.Builder mergeFrom(Validation other)| Name | Description |
| other | Validation |
| Type | Description |
| Validation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Validation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Validation.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Validation.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Validation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Validation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Validation.Builder |
removeMessage(int index)
public Validation.Builder removeMessage(int index)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| Type | Description |
| Validation.Builder |
setCode(String value)
public Validation.Builder setCode(String value)A custom code identifying this validation.
string code = 4;
| Name | Description |
| value | StringThe code to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setCodeBytes(ByteString value)
public Validation.Builder setCodeBytes(ByteString value)A custom code identifying this validation.
string code = 4;
| Name | Description |
| value | ByteStringThe bytes for code to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setDescription(String value)
public Validation.Builder setDescription(String value)A short description of the validation.
string description = 1;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Validation.Builder setDescriptionBytes(ByteString value)A short description of the validation.
string description = 1;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Validation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Validation.Builder |
setMessage(int index, ValidationMessage value)
public Validation.Builder setMessage(int index, ValidationMessage value)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| value | ValidationMessage |
| Type | Description |
| Validation.Builder |
setMessage(int index, ValidationMessage.Builder builderForValue)
public Validation.Builder setMessage(int index, ValidationMessage.Builder builderForValue)Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
| Name | Description |
| index | int |
| builderForValue | ValidationMessage.Builder |
| Type | Description |
| Validation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Validation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Validation.Builder |
setState(Validation.State value)
public Validation.Builder setState(Validation.State value)Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
| Name | Description |
| value | Validation.StateThe state to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setStateValue(int value)
public Validation.Builder setStateValue(int value)Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| Validation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Validation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Validation.Builder |