public static final class Sitemap.Builder extends GeneratedMessage.Builder<Sitemap.Builder> implements SitemapOrBuilderA sitemap for the SiteSearchEngine.
Protobuf type google.cloud.discoveryengine.v1.Sitemap
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Sitemap.BuilderImplements
SitemapOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Sitemap build()| Returns | |
|---|---|
| Type | Description |
Sitemap |
|
buildPartial()
public Sitemap buildPartial()| Returns | |
|---|---|
| Type | Description |
Sitemap |
|
clear()
public Sitemap.Builder clear()| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
clearCreateTime()
public Sitemap.Builder clearCreateTime()Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
clearFeed()
public Sitemap.Builder clearFeed()| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
clearName()
public Sitemap.Builder clearName() Output only. The fully qualified resource name of the sitemap.
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*
The sitemap_id suffix is system-generated.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |
clearUri()
public Sitemap.Builder clearUri() Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |
getCreateTime()
public Timestamp getCreateTime()Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Sitemap getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Sitemap |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFeedCase()
public Sitemap.FeedCase getFeedCase()| Returns | |
|---|---|
| Type | Description |
Sitemap.FeedCase |
|
getName()
public String getName() Output only. The fully qualified resource name of the sitemap.
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*
The sitemap_id suffix is system-generated.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The fully qualified resource name of the sitemap.
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*
The sitemap_id suffix is system-generated.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUri()
public String getUri() Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes() Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasCreateTime()
public boolean hasCreateTime()Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUri()
public boolean hasUri() Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Sitemap.Builder mergeCreateTime(Timestamp value)Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
mergeFrom(Sitemap other)
public Sitemap.Builder mergeFrom(Sitemap other)| Parameter | |
|---|---|
| Name | Description |
other |
Sitemap |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Sitemap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Sitemap.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
setCreateTime(Timestamp value)
public Sitemap.Builder setCreateTime(Timestamp value)Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Sitemap.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
|
setName(String value)
public Sitemap.Builder setName(String value) Output only. The fully qualified resource name of the sitemap.
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*
The sitemap_id suffix is system-generated.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Sitemap.Builder setNameBytes(ByteString value) Output only. The fully qualified resource name of the sitemap.
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*
The sitemap_id suffix is system-generated.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |
setUri(String value)
public Sitemap.Builder setUri(String value) Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Sitemap.Builder setUriBytes(ByteString value) Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Sitemap.Builder |
This builder for chaining. |