Class FetchSitemapsResponse.SitemapMetadata.Builder (0.50.0)

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

Contains a Sitemap and its metadata.

Protobuf type google.cloud.discoveryengine.v1beta.FetchSitemapsResponse.SitemapMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchSitemapsResponse.SitemapMetadata build()
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata

buildPartial()

public FetchSitemapsResponse.SitemapMetadata buildPartial()
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSitemap()

public FetchSitemapsResponse.SitemapMetadata.Builder clearSitemap()

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

Returns
Type Description
FetchSitemapsResponse.SitemapMetadata.Builder

clone()

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

getDefaultInstanceForType()

public FetchSitemapsResponse.SitemapMetadata getDefaultInstanceForType()
Returns
Type Description
FetchSitemapsResponse.SitemapMetadata

getDescriptorForType()

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

getSitemap()

public Sitemap getSitemap()

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

Returns
Type Description
Sitemap

The sitemap.

getSitemapBuilder()

public Sitemap.Builder getSitemapBuilder()

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

Returns
Type Description
Sitemap.Builder

getSitemapOrBuilder()

public SitemapOrBuilder getSitemapOrBuilder()

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

Returns
Type Description
SitemapOrBuilder

hasSitemap()

public boolean hasSitemap()

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

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(FetchSitemapsResponse.SitemapMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSitemap(Sitemap value)

public FetchSitemapsResponse.SitemapMetadata.Builder mergeSitemap(Sitemap value)

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSitemap(Sitemap value)

public FetchSitemapsResponse.SitemapMetadata.Builder setSitemap(Sitemap value)

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

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

setSitemap(Sitemap.Builder builderForValue)

public FetchSitemapsResponse.SitemapMetadata.Builder setSitemap(Sitemap.Builder builderForValue)

The Sitemap.

.google.cloud.discoveryengine.v1beta.Sitemap sitemap = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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