- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class CorroborateContentRequest.Builder extends GeneratedMessageV3.Builder<CorroborateContentRequest.Builder> implements CorroborateContentRequestOrBuilder
Request message for CorroborateContent.
Protobuf type google.cloud.aiplatform.v1beta1.CorroborateContentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CorroborateContentRequest.BuilderImplements
CorroborateContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFacts(Iterable<? extends Fact> values)
public CorroborateContentRequest.Builder addAllFacts(Iterable<? extends Fact> values)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Fact> |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
addFacts(Fact value)
public CorroborateContentRequest.Builder addFacts(Fact value)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Fact |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
addFacts(Fact.Builder builderForValue)
public CorroborateContentRequest.Builder addFacts(Fact.Builder builderForValue)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Fact.Builder |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
addFacts(int index, Fact value)
public CorroborateContentRequest.Builder addFacts(int index, Fact value)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Fact |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
addFacts(int index, Fact.Builder builderForValue)
public CorroborateContentRequest.Builder addFacts(int index, Fact.Builder builderForValue)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Fact.Builder |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
addFactsBuilder()
public Fact.Builder addFactsBuilder()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Fact.Builder |
addFactsBuilder(int index)
public Fact.Builder addFactsBuilder(int index)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Fact.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CorroborateContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
build()
public CorroborateContentRequest build()
Returns | |
---|---|
Type | Description |
CorroborateContentRequest |
buildPartial()
public CorroborateContentRequest buildPartial()
Returns | |
---|---|
Type | Description |
CorroborateContentRequest |
clear()
public CorroborateContentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearContent()
public CorroborateContentRequest.Builder clearContent()
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearFacts()
public CorroborateContentRequest.Builder clearFacts()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CorroborateContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CorroborateContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearParameters()
public CorroborateContentRequest.Builder clearParameters()
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
clearParent()
public CorroborateContentRequest.Builder clearParent()
Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
This builder for chaining. |
clone()
public CorroborateContentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
getContent()
public Content getContent()
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Content |
The content. |
getContentBuilder()
public Content.Builder getContentBuilder()
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Content.Builder |
getContentOrBuilder()
public ContentOrBuilder getContentOrBuilder()
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContentOrBuilder |
getDefaultInstanceForType()
public CorroborateContentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CorroborateContentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFacts(int index)
public Fact getFacts(int index)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Fact |
getFactsBuilder(int index)
public Fact.Builder getFactsBuilder(int index)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Fact.Builder |
getFactsBuilderList()
public List<Fact.Builder> getFactsBuilderList()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFactsCount()
public int getFactsCount()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFactsList()
public List<Fact> getFactsList()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Fact> |
getFactsOrBuilder(int index)
public FactOrBuilder getFactsOrBuilder(int index)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FactOrBuilder |
getFactsOrBuilderList()
public List<? extends FactOrBuilder> getFactsOrBuilderList()
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.FactOrBuilder> |
getParameters()
public CorroborateContentRequest.Parameters getParameters()
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Parameters |
The parameters. |
getParametersBuilder()
public CorroborateContentRequest.Parameters.Builder getParametersBuilder()
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Parameters.Builder |
getParametersOrBuilder()
public CorroborateContentRequest.ParametersOrBuilder getParametersOrBuilder()
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.ParametersOrBuilder |
getParent()
public String getParent()
Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasContent()
public boolean hasContent()
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the content field is set. |
hasParameters()
public boolean hasParameters()
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the parameters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeContent(Content value)
public CorroborateContentRequest.Builder mergeContent(Content value)
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Content |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
mergeFrom(CorroborateContentRequest other)
public CorroborateContentRequest.Builder mergeFrom(CorroborateContentRequest other)
Parameter | |
---|---|
Name | Description |
other |
CorroborateContentRequest |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CorroborateContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CorroborateContentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
mergeParameters(CorroborateContentRequest.Parameters value)
public CorroborateContentRequest.Builder mergeParameters(CorroborateContentRequest.Parameters value)
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CorroborateContentRequest.Parameters |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CorroborateContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
removeFacts(int index)
public CorroborateContentRequest.Builder removeFacts(int index)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setContent(Content value)
public CorroborateContentRequest.Builder setContent(Content value)
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Content |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setContent(Content.Builder builderForValue)
public CorroborateContentRequest.Builder setContent(Content.Builder builderForValue)
Optional. Input content to corroborate, only text format is supported for now.
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Content.Builder |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setFacts(int index, Fact value)
public CorroborateContentRequest.Builder setFacts(int index, Fact value)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Fact |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setFacts(int index, Fact.Builder builderForValue)
public CorroborateContentRequest.Builder setFacts(int index, Fact.Builder builderForValue)
Optional. Facts used to generate the text can also be used to corroborate the text.
repeated .google.cloud.aiplatform.v1beta1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Fact.Builder |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CorroborateContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setParameters(CorroborateContentRequest.Parameters value)
public CorroborateContentRequest.Builder setParameters(CorroborateContentRequest.Parameters value)
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CorroborateContentRequest.Parameters |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setParameters(CorroborateContentRequest.Parameters.Builder builderForValue)
public CorroborateContentRequest.Builder setParameters(CorroborateContentRequest.Parameters.Builder builderForValue)
Optional. Parameters that can be set to override default settings per request.
.google.cloud.aiplatform.v1beta1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
CorroborateContentRequest.Parameters.Builder |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setParent(String value)
public CorroborateContentRequest.Builder setParent(String value)
Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CorroborateContentRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CorroborateContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CorroborateContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest.Builder |