- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ValidationMessage.Builder extends GeneratedMessageV3.Builder<ValidationMessage.Builder> implements ValidationMessageOrBuilder
Agent/flow validation message.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ValidationMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidationMessage.BuilderImplements
ValidationMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceNames(Iterable<? extends ResourceName> values)
public ValidationMessage.Builder addAllResourceNames(Iterable<? extends ResourceName> values)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResourceName> |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addAllResources(Iterable<String> values) (deprecated)
public ValidationMessage.Builder addAllResources(Iterable<String> values)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The resources to add. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidationMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addResourceNames(ResourceName value)
public ValidationMessage.Builder addResourceNames(ResourceName value)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
value |
ResourceName |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addResourceNames(ResourceName.Builder builderForValue)
public ValidationMessage.Builder addResourceNames(ResourceName.Builder builderForValue)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceName.Builder |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addResourceNames(int index, ResourceName value)
public ValidationMessage.Builder addResourceNames(int index, ResourceName value)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceName |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addResourceNames(int index, ResourceName.Builder builderForValue)
public ValidationMessage.Builder addResourceNames(int index, ResourceName.Builder builderForValue)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceName.Builder |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
addResourceNamesBuilder()
public ResourceName.Builder addResourceNamesBuilder()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
ResourceName.Builder |
addResourceNamesBuilder(int index)
public ResourceName.Builder addResourceNamesBuilder(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceName.Builder |
addResources(String value) (deprecated)
public ValidationMessage.Builder addResources(String value)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
String The resources to add. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
addResourcesBytes(ByteString value) (deprecated)
public ValidationMessage.Builder addResourcesBytes(ByteString value)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the resources to add. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
build()
public ValidationMessage build()
Returns | |
---|---|
Type | Description |
ValidationMessage |
buildPartial()
public ValidationMessage buildPartial()
Returns | |
---|---|
Type | Description |
ValidationMessage |
clear()
public ValidationMessage.Builder clear()
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
clearDetail()
public ValidationMessage.Builder clearDetail()
The message detail.
string detail = 4;
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ValidationMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidationMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
clearResourceNames()
public ValidationMessage.Builder clearResourceNames()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
clearResourceType()
public ValidationMessage.Builder clearResourceType()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
clearResources() (deprecated)
public ValidationMessage.Builder clearResources()
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
clearSeverity()
public ValidationMessage.Builder clearSeverity()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
clone()
public ValidationMessage.Builder clone()
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
getDefaultInstanceForType()
public ValidationMessage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ValidationMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetail()
public String getDetail()
The message detail.
string detail = 4;
Returns | |
---|---|
Type | Description |
String |
The detail. |
getDetailBytes()
public ByteString getDetailBytes()
The message detail.
string detail = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for detail. |
getResourceNames(int index)
public ResourceName getResourceNames(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceName |
getResourceNamesBuilder(int index)
public ResourceName.Builder getResourceNamesBuilder(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceName.Builder |
getResourceNamesBuilderList()
public List<ResourceName.Builder> getResourceNamesBuilderList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getResourceNamesCount()
public int getResourceNamesCount()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
int |
getResourceNamesList()
public List<ResourceName> getResourceNamesList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
List<ResourceName> |
getResourceNamesOrBuilder(int index)
public ResourceNameOrBuilder getResourceNamesOrBuilder(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceNameOrBuilder |
getResourceNamesOrBuilderList()
public List<? extends ResourceNameOrBuilder> getResourceNamesOrBuilderList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResourceNameOrBuilder> |
getResourceType()
public ValidationMessage.ResourceType getResourceType()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Returns | |
---|---|
Type | Description |
ValidationMessage.ResourceType |
The resourceType. |
getResourceTypeValue()
public int getResourceTypeValue()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for resourceType. |
getResources(int index) (deprecated)
public String getResources(int index)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The resources at the given index. |
getResourcesBytes(int index) (deprecated)
public ByteString getResourcesBytes(int index)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the resources at the given index. |
getResourcesCount() (deprecated)
public int getResourcesCount()
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
int |
The count of resources. |
getResourcesList() (deprecated)
public ProtocolStringList getResourcesList()
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the resources. |
getSeverity()
public ValidationMessage.Severity getSeverity()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Returns | |
---|---|
Type | Description |
ValidationMessage.Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for severity. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ValidationMessage other)
public ValidationMessage.Builder mergeFrom(ValidationMessage other)
Parameter | |
---|---|
Name | Description |
other |
ValidationMessage |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidationMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ValidationMessage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidationMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
removeResourceNames(int index)
public ValidationMessage.Builder removeResourceNames(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
setDetail(String value)
public ValidationMessage.Builder setDetail(String value)
The message detail.
string detail = 4;
Parameter | |
---|---|
Name | Description |
value |
String The detail to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setDetailBytes(ByteString value)
public ValidationMessage.Builder setDetailBytes(ByteString value)
The message detail.
string detail = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for detail to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ValidationMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValidationMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
setResourceNames(int index, ResourceName value)
public ValidationMessage.Builder setResourceNames(int index, ResourceName value)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceName |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
setResourceNames(int index, ResourceName.Builder builderForValue)
public ValidationMessage.Builder setResourceNames(int index, ResourceName.Builder builderForValue)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceName.Builder |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
setResourceType(ValidationMessage.ResourceType value)
public ValidationMessage.Builder setResourceType(ValidationMessage.ResourceType value)
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Parameter | |
---|---|
Name | Description |
value |
ValidationMessage.ResourceType The resourceType to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setResourceTypeValue(int value)
public ValidationMessage.Builder setResourceTypeValue(int value)
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for resourceType to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setResources(int index, String value) (deprecated)
public ValidationMessage.Builder setResources(int index, String value)
Deprecated. google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=93
The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The resources to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setSeverity(ValidationMessage.Severity value)
public ValidationMessage.Builder setSeverity(ValidationMessage.Severity value)
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Parameter | |
---|---|
Name | Description |
value |
ValidationMessage.Severity The severity to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setSeverityValue(int value)
public ValidationMessage.Builder setSeverityValue(int value)
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for severity to set. |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidationMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidationMessage.Builder |