public static final class Evaluation.Scenario.UserFact.Builder extends GeneratedMessage.Builder<Evaluation.Scenario.UserFact.Builder> implements Evaluation.Scenario.UserFactOrBuilderFacts about the user as a key value pair.
Protobuf type google.cloud.ces.v1beta.Evaluation.Scenario.UserFact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Evaluation.Scenario.UserFact.BuilderImplements
Evaluation.Scenario.UserFactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Evaluation.Scenario.UserFact build()| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact |
|
buildPartial()
public Evaluation.Scenario.UserFact buildPartial()| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact |
|
clear()
public Evaluation.Scenario.UserFact.Builder clear()| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
|
clearName()
public Evaluation.Scenario.UserFact.Builder clearName()Required. The name of the user fact.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |
clearValue()
public Evaluation.Scenario.UserFact.Builder clearValue()Required. The value of the user fact.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Evaluation.Scenario.UserFact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the user fact.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the user fact.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValue()
public String getValue()Required. The value of the user fact.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Required. The value of the user fact.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Evaluation.Scenario.UserFact other)
public Evaluation.Scenario.UserFact.Builder mergeFrom(Evaluation.Scenario.UserFact other)| Parameter | |
|---|---|
| Name | Description |
other |
Evaluation.Scenario.UserFact |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.Scenario.UserFact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Evaluation.Scenario.UserFact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
|
setName(String value)
public Evaluation.Scenario.UserFact.Builder setName(String value)Required. The name of the user fact.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Evaluation.Scenario.UserFact.Builder setNameBytes(ByteString value)Required. The name of the user fact.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |
setValue(String value)
public Evaluation.Scenario.UserFact.Builder setValue(String value)Required. The value of the user fact.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public Evaluation.Scenario.UserFact.Builder setValueBytes(ByteString value)Required. The value of the user fact.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
Evaluation.Scenario.UserFact.Builder |
This builder for chaining. |