public static final class CorroborateContentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder> implements CorroborateContentRequestOrBuilder
Request message for CorroborateContent.Protobuf type
google.cloud.aiplatform.v1beta1.CorroborateContentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CorroborateContentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CorroborateContentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CorroborateContentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder mergeFrom(CorroborateContentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public CorroborateContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CorroborateContentRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface CorroborateContentRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface CorroborateContentRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public CorroborateContentRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.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];
hasContent in interface CorroborateContentRequestOrBuilderpublic 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];
getContent in interface CorroborateContentRequestOrBuilderpublic 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];
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];
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];
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];
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];
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];
getContentOrBuilder in interface CorroborateContentRequestOrBuilderpublic 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];
getFactsList in interface CorroborateContentRequestOrBuilderpublic 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];
getFactsCount in interface CorroborateContentRequestOrBuilderpublic 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];
getFacts in interface CorroborateContentRequestOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getFactsOrBuilder in interface CorroborateContentRequestOrBuilderpublic 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];
getFactsOrBuilderList in interface CorroborateContentRequestOrBuilderpublic 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];
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];
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];
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];
hasParameters in interface CorroborateContentRequestOrBuilderpublic 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];
getParameters in interface CorroborateContentRequestOrBuilderpublic 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];
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];
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];
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];
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];
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];
getParametersOrBuilder in interface CorroborateContentRequestOrBuilderpublic final CorroborateContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>public final CorroborateContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CorroborateContentRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.