public static final class GroundingMetadata.SourceFlaggingUri.Builder extends GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder> implements GroundingMetadata.SourceFlaggingUriOrBuilderSource content flagging uri for a place or review. This is currently populated only for Google Maps grounding.
Protobuf type google.cloud.vertexai.v1.GroundingMetadata.SourceFlaggingUri
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GroundingMetadata.SourceFlaggingUri.BuilderImplements
GroundingMetadata.SourceFlaggingUriOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GroundingMetadata.SourceFlaggingUri build()| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri |
|
buildPartial()
public GroundingMetadata.SourceFlaggingUri buildPartial()| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri |
|
clear()
public GroundingMetadata.SourceFlaggingUri.Builder clear()| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
|
clearFlagContentUri()
public GroundingMetadata.SourceFlaggingUri.Builder clearFlagContentUri()A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |
clearSourceId()
public GroundingMetadata.SourceFlaggingUri.Builder clearSourceId()Id of the place or review.
string source_id = 1;
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GroundingMetadata.SourceFlaggingUri getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFlagContentUri()
public String getFlagContentUri()A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The flagContentUri. |
getFlagContentUriBytes()
public ByteString getFlagContentUriBytes()A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for flagContentUri. |
getSourceId()
public String getSourceId()Id of the place or review.
string source_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceId. |
getSourceIdBytes()
public ByteString getSourceIdBytes()Id of the place or review.
string source_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GroundingMetadata.SourceFlaggingUri other)
public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(GroundingMetadata.SourceFlaggingUri other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundingMetadata.SourceFlaggingUri |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
|
setFlagContentUri(String value)
public GroundingMetadata.SourceFlaggingUri.Builder setFlagContentUri(String value)A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe flagContentUri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |
setFlagContentUriBytes(ByteString value)
public GroundingMetadata.SourceFlaggingUri.Builder setFlagContentUriBytes(ByteString value)A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for flagContentUri to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |
setSourceId(String value)
public GroundingMetadata.SourceFlaggingUri.Builder setSourceId(String value)Id of the place or review.
string source_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |
setSourceIdBytes(ByteString value)
public GroundingMetadata.SourceFlaggingUri.Builder setSourceIdBytes(ByteString value)Id of the place or review.
string source_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceId to set. |
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata.SourceFlaggingUri.Builder |
This builder for chaining. |