public static final class Sitemap.Builder extends GeneratedMessageV3.Builder<Sitemap.Builder> implements SitemapOrBuilder
A sitemap for the SiteSearchEngine.
Protobuf type google.cloud.discoveryengine.v1beta.Sitemap
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Sitemap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Sitemap buildPartial()
clear()
public Sitemap.Builder clear()
Overrides
clearCreateTime()
public Sitemap.Builder clearCreateTime()
Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearFeed()
public Sitemap.Builder clearFeed()
clearField(Descriptors.FieldDescriptor field)
public Sitemap.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Sitemap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public Sitemap.Builder clearUri()
Public URI for the sitemap, e.g. www.example.com/sitemap.xml
.
string uri = 2;
clone()
public Sitemap.Builder clone()
Overrides
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];
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The sitemap's creation time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Sitemap getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFeedCase()
public Sitemap.FeedCase getFeedCase()
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 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 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(Sitemap other)
public Sitemap.Builder mergeFrom(Sitemap other)
Parameter |
Name |
Description |
other |
Sitemap
|
public Sitemap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Sitemap.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Sitemap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Sitemap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Sitemap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Sitemap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The uri to set.
|
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 |
ByteString
The bytes for uri to set.
|