public static final class CreateSitemapRequest.Builder extends GeneratedMessageV3.Builder<CreateSitemapRequest.Builder> implements CreateSitemapRequestOrBuilder
Request message for
SiteSearchEngineService.CreateSitemap
method.
Protobuf type google.cloud.discoveryengine.v1beta.CreateSitemapRequest
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 CreateSitemapRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateSitemapRequest build()
buildPartial()
public CreateSitemapRequest buildPartial()
clear()
public CreateSitemapRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateSitemapRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSitemapRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateSitemapRequest.Builder clearParent()
Required. Parent resource name of the
SiteSearchEngine,
such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSitemap()
public CreateSitemapRequest.Builder clearSitemap()
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateSitemapRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateSitemapRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Parent resource name of the
SiteSearchEngine,
such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Parent resource name of the
SiteSearchEngine,
such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getSitemap()
public Sitemap getSitemap()
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Sitemap |
The sitemap.
|
getSitemapBuilder()
public Sitemap.Builder getSitemapBuilder()
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
getSitemapOrBuilder()
public SitemapOrBuilder getSitemapOrBuilder()
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
hasSitemap()
public boolean hasSitemap()
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the sitemap field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateSitemapRequest other)
public CreateSitemapRequest.Builder mergeFrom(CreateSitemapRequest other)
public CreateSitemapRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateSitemapRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSitemap(Sitemap value)
public CreateSitemapRequest.Builder mergeSitemap(Sitemap value)
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Sitemap
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSitemapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSitemapRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateSitemapRequest.Builder setParent(String value)
Required. Parent resource name of the
SiteSearchEngine,
such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateSitemapRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name of the
SiteSearchEngine,
such as
projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSitemapRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSitemap(Sitemap value)
public CreateSitemapRequest.Builder setSitemap(Sitemap value)
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Sitemap
|
setSitemap(Sitemap.Builder builderForValue)
public CreateSitemapRequest.Builder setSitemap(Sitemap.Builder builderForValue)
Required. The Sitemap to
create.
.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSitemapRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides