Class CreateSitemapRequest.Builder (0.50.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateSitemapRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateSitemapRequest.Builder
Overrides

build()

public CreateSitemapRequest build()
Returns
Type Description
CreateSitemapRequest

buildPartial()

public CreateSitemapRequest buildPartial()
Returns
Type Description
CreateSitemapRequest

clear()

public CreateSitemapRequest.Builder clear()
Returns
Type Description
CreateSitemapRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateSitemapRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateSitemapRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateSitemapRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateSitemapRequest.Builder
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) = { ... }

Returns
Type Description
CreateSitemapRequest.Builder

This builder for chaining.

clearSitemap()

public CreateSitemapRequest.Builder clearSitemap()

Required. The Sitemap to create.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSitemapRequest.Builder

clone()

public CreateSitemapRequest.Builder clone()
Returns
Type Description
CreateSitemapRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateSitemapRequest getDefaultInstanceForType()
Returns
Type Description
CreateSitemapRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
Sitemap.Builder

getSitemapOrBuilder()

public SitemapOrBuilder getSitemapOrBuilder()

Required. The Sitemap to create.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SitemapOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSitemapRequest other)

public CreateSitemapRequest.Builder mergeFrom(CreateSitemapRequest other)
Parameter
Name Description
other CreateSitemapRequest
Returns
Type Description
CreateSitemapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateSitemapRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSitemapRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateSitemapRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateSitemapRequest.Builder
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
Returns
Type Description
CreateSitemapRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateSitemapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateSitemapRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateSitemapRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateSitemapRequest.Builder
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.

Returns
Type Description
CreateSitemapRequest.Builder

This builder for chaining.

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.

Returns
Type Description
CreateSitemapRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateSitemapRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateSitemapRequest.Builder
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
Returns
Type Description
CreateSitemapRequest.Builder

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];

Parameter
Name Description
builderForValue Sitemap.Builder
Returns
Type Description
CreateSitemapRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateSitemapRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateSitemapRequest.Builder
Overrides