Class FetchSitemapsResponse.Builder (0.50.0)

public static final class FetchSitemapsResponse.Builder extends GeneratedMessageV3.Builder<FetchSitemapsResponse.Builder> implements FetchSitemapsResponseOrBuilder

Response message for SiteSearchEngineService.FetchSitemaps method.

Protobuf type google.cloud.discoveryengine.v1beta.FetchSitemapsResponse

Static Methods

getDescriptor()

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

Methods

addAllSitemapsMetadata(Iterable<? extends FetchSitemapsResponse.SitemapMetadata> values)

public FetchSitemapsResponse.Builder addAllSitemapsMetadata(Iterable<? extends FetchSitemapsResponse.SitemapMetadata> values)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata>
Returns
Type Description
FetchSitemapsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSitemapsMetadata(FetchSitemapsResponse.SitemapMetadata value)

public FetchSitemapsResponse.Builder addSitemapsMetadata(FetchSitemapsResponse.SitemapMetadata value)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
value FetchSitemapsResponse.SitemapMetadata
Returns
Type Description
FetchSitemapsResponse.Builder

addSitemapsMetadata(FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

public FetchSitemapsResponse.Builder addSitemapsMetadata(FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
builderForValue FetchSitemapsResponse.SitemapMetadata.Builder
Returns
Type Description
FetchSitemapsResponse.Builder

addSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata value)

public FetchSitemapsResponse.Builder addSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata value)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameters
Name Description
index int
value FetchSitemapsResponse.SitemapMetadata
Returns
Type Description
FetchSitemapsResponse.Builder

addSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

public FetchSitemapsResponse.Builder addSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameters
Name Description
index int
builderForValue FetchSitemapsResponse.SitemapMetadata.Builder
Returns
Type Description
FetchSitemapsResponse.Builder

addSitemapsMetadataBuilder()

public FetchSitemapsResponse.SitemapMetadata.Builder addSitemapsMetadataBuilder()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
FetchSitemapsResponse.SitemapMetadata.Builder

addSitemapsMetadataBuilder(int index)

public FetchSitemapsResponse.SitemapMetadata.Builder addSitemapsMetadataBuilder(int index)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata.Builder

build()

public FetchSitemapsResponse build()
Returns
Type Description
FetchSitemapsResponse

buildPartial()

public FetchSitemapsResponse buildPartial()
Returns
Type Description
FetchSitemapsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSitemapsMetadata()

public FetchSitemapsResponse.Builder clearSitemapsMetadata()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
FetchSitemapsResponse.Builder

clone()

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

getDefaultInstanceForType()

public FetchSitemapsResponse getDefaultInstanceForType()
Returns
Type Description
FetchSitemapsResponse

getDescriptorForType()

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

getSitemapsMetadata(int index)

public FetchSitemapsResponse.SitemapMetadata getSitemapsMetadata(int index)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata

getSitemapsMetadataBuilder(int index)

public FetchSitemapsResponse.SitemapMetadata.Builder getSitemapsMetadataBuilder(int index)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata.Builder

getSitemapsMetadataBuilderList()

public List<FetchSitemapsResponse.SitemapMetadata.Builder> getSitemapsMetadataBuilderList()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
List<Builder>

getSitemapsMetadataCount()

public int getSitemapsMetadataCount()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
int

getSitemapsMetadataList()

public List<FetchSitemapsResponse.SitemapMetadata> getSitemapsMetadataList()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
List<SitemapMetadata>

getSitemapsMetadataOrBuilder(int index)

public FetchSitemapsResponse.SitemapMetadataOrBuilder getSitemapsMetadataOrBuilder(int index)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchSitemapsResponse.SitemapMetadataOrBuilder

getSitemapsMetadataOrBuilderList()

public List<? extends FetchSitemapsResponse.SitemapMetadataOrBuilder> getSitemapsMetadataOrBuilderList()

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadataOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchSitemapsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSitemapsMetadata(int index)

public FetchSitemapsResponse.Builder removeSitemapsMetadata(int index)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchSitemapsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata value)

public FetchSitemapsResponse.Builder setSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata value)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameters
Name Description
index int
value FetchSitemapsResponse.SitemapMetadata
Returns
Type Description
FetchSitemapsResponse.Builder

setSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

public FetchSitemapsResponse.Builder setSitemapsMetadata(int index, FetchSitemapsResponse.SitemapMetadata.Builder builderForValue)

List of Sitemaps fetched.

repeated .google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1;

Parameters
Name Description
index int
builderForValue FetchSitemapsResponse.SitemapMetadata.Builder
Returns
Type Description
FetchSitemapsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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