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
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 FetchSitemapsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchSitemapsRequest build()
buildPartial()
public FetchSitemapsRequest buildPartial()
clear()
public FetchSitemapsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchSitemapsRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchSitemapsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public FetchSitemapsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchSitemapsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchSitemapsRequest other)
public FetchSitemapsRequest.Builder mergeFrom(FetchSitemapsRequest other)
public FetchSitemapsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchSitemapsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchSitemapsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchSitemapsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchSitemapsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchSitemapsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides