- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class Validation.Builder extends GeneratedMessageV3.Builder<Validation.Builder> implements ValidationOrBuilder
A 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.datastream.v1.ValidationMessage> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ValidationMessage |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ValidationMessage.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ValidationMessage |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ValidationMessage.Builder |
Returns | |
---|---|
Type | Description |
Validation.Builder |
addMessageBuilder()
public ValidationMessage.Builder addMessageBuilder()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Validation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Validation.Builder |
build()
public Validation build()
Returns | |
---|---|
Type | Description |
Validation |
buildPartial()
public Validation buildPartial()
Returns | |
---|---|
Type | Description |
Validation |
clear()
public Validation.Builder clear()
Returns | |
---|---|
Type | Description |
Validation.Builder |
clearCode()
public Validation.Builder clearCode()
A custom code identifying this validation.
string code = 4;
Returns | |
---|---|
Type | Description |
Validation.Builder |
This builder for chaining. |
clearDescription()
public Validation.Builder clearDescription()
A short description of the validation.
string description = 1;
Returns | |
---|---|
Type | Description |
Validation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Validation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Validation.Builder |
clearMessage()
public Validation.Builder clearMessage()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
Type | Description |
Validation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Validation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Validation.Builder |
clearState()
public Validation.Builder clearState()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
Returns | |
---|---|
Type | Description |
Validation.Builder |
This builder for chaining. |
clone()
public Validation.Builder clone()
Returns | |
---|---|
Type | Description |
Validation.Builder |
getCode()
public String getCode()
A custom code identifying this validation.
string code = 4;
Returns | |
---|---|
Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()
A custom code identifying this validation.
string code = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public Validation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Validation |
getDescription()
public String getDescription()
A short description of the validation.
string description = 1;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A short description of the validation.
string description = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMessage(int index)
public ValidationMessage getMessage(int index)
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
getMessageBuilderList()
public List<ValidationMessage.Builder> getMessageBuilderList()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getMessageCount()
public int getMessageCount()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
Type | Description |
int |
getMessageList()
public List<ValidationMessage> getMessageList()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ValidationMessageOrBuilder |
getMessageOrBuilderList()
public List<? extends ValidationMessageOrBuilder> getMessageOrBuilderList()
Messages reflecting the validation results.
repeated .google.cloud.datastream.v1.ValidationMessage message = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Validation.State |
The state. |
getStateValue()
public int getStateValue()
Validation execution status.
.google.cloud.datastream.v1.Validation.State state = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Validation other)
public Validation.Builder mergeFrom(Validation other)
Parameter | |
---|---|
Name | Description |
other |
Validation |
Returns | |
---|---|
Type | Description |
Validation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Validation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Validation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Validation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Validation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Validation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Validation.Builder |
setCode(String value)
public Validation.Builder setCode(String value)
A custom code identifying this validation.
string code = 4;
Parameter | |
---|---|
Name | Description |
value |
String The code to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for code to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Validation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Validation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ValidationMessage |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ValidationMessage.Builder |
Returns | |
---|---|
Type | Description |
Validation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Validation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Validation.State The state to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Validation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Validation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Validation.Builder |