Class FetchSitemapsRequest.Builder (0.50.0)

public static final class FetchSitemapsRequest.Builder extends GeneratedMessageV3.Builder<FetchSitemapsRequest.Builder> implements FetchSitemapsRequestOrBuilder

Request message for SiteSearchEngineService.FetchSitemaps method.

Protobuf type google.cloud.discoveryengine.v1beta.FetchSitemapsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchSitemapsRequest build()
Returns
Type Description
FetchSitemapsRequest

buildPartial()

public FetchSitemapsRequest buildPartial()
Returns
Type Description
FetchSitemapsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMatcher()

public FetchSitemapsRequest.Builder clearMatcher()

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchSitemapsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchSitemapsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchSitemapsRequest.Builder
Overrides

clearParent()

public FetchSitemapsRequest.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
FetchSitemapsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchSitemapsRequest getDefaultInstanceForType()
Returns
Type Description
FetchSitemapsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatcher()

public FetchSitemapsRequest.Matcher getMatcher()

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchSitemapsRequest.Matcher

The matcher.

getMatcherBuilder()

public FetchSitemapsRequest.Matcher.Builder getMatcherBuilder()

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchSitemapsRequest.Matcher.Builder

getMatcherOrBuilder()

public FetchSitemapsRequest.MatcherOrBuilder getMatcherOrBuilder()

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchSitemapsRequest.MatcherOrBuilder

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.

hasMatcher()

public boolean hasMatcher()

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the matcher field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchSitemapsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FetchSitemapsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchSitemapsRequest.Builder
Overrides

mergeMatcher(FetchSitemapsRequest.Matcher value)

public FetchSitemapsRequest.Builder mergeMatcher(FetchSitemapsRequest.Matcher value)

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FetchSitemapsRequest.Matcher
Returns
Type Description
FetchSitemapsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMatcher(FetchSitemapsRequest.Matcher value)

public FetchSitemapsRequest.Builder setMatcher(FetchSitemapsRequest.Matcher value)

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FetchSitemapsRequest.Matcher
Returns
Type Description
FetchSitemapsRequest.Builder

setMatcher(FetchSitemapsRequest.Matcher.Builder builderForValue)

public FetchSitemapsRequest.Builder setMatcher(FetchSitemapsRequest.Matcher.Builder builderForValue)

Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.

.google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher matcher = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue FetchSitemapsRequest.Matcher.Builder
Returns
Type Description
FetchSitemapsRequest.Builder

setParent(String value)

public FetchSitemapsRequest.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
FetchSitemapsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public FetchSitemapsRequest.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
FetchSitemapsRequest.Builder

This builder for chaining.

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

public FetchSitemapsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchSitemapsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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