Class FetchDomainVerificationStatusResponse.Builder (0.49.0)

public static final class FetchDomainVerificationStatusResponse.Builder extends GeneratedMessageV3.Builder<FetchDomainVerificationStatusResponse.Builder> implements FetchDomainVerificationStatusResponseOrBuilder

Response message for SiteSearchEngineService.FetchDomainVerificationStatus method.

Protobuf type google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse

Static Methods

getDescriptor()

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

Methods

addAllTargetSites(Iterable<? extends TargetSite> values)

public FetchDomainVerificationStatusResponse.Builder addAllTargetSites(Iterable<? extends TargetSite> values)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.TargetSite>
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetSites(TargetSite value)

public FetchDomainVerificationStatusResponse.Builder addTargetSites(TargetSite value)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
value TargetSite
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

addTargetSites(TargetSite.Builder builderForValue)

public FetchDomainVerificationStatusResponse.Builder addTargetSites(TargetSite.Builder builderForValue)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
builderForValue TargetSite.Builder
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

addTargetSites(int index, TargetSite value)

public FetchDomainVerificationStatusResponse.Builder addTargetSites(int index, TargetSite value)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameters
Name Description
index int
value TargetSite
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

addTargetSites(int index, TargetSite.Builder builderForValue)

public FetchDomainVerificationStatusResponse.Builder addTargetSites(int index, TargetSite.Builder builderForValue)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameters
Name Description
index int
builderForValue TargetSite.Builder
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

addTargetSitesBuilder()

public TargetSite.Builder addTargetSitesBuilder()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
TargetSite.Builder

addTargetSitesBuilder(int index)

public TargetSite.Builder addTargetSitesBuilder(int index)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetSite.Builder

build()

public FetchDomainVerificationStatusResponse build()
Returns
Type Description
FetchDomainVerificationStatusResponse

buildPartial()

public FetchDomainVerificationStatusResponse buildPartial()
Returns
Type Description
FetchDomainVerificationStatusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public FetchDomainVerificationStatusResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetSites()

public FetchDomainVerificationStatusResponse.Builder clearTargetSites()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

clearTotalSize()

public FetchDomainVerificationStatusResponse.Builder clearTotalSize()

The total number of items matching the request. This will always be populated in the response.

int32 total_size = 3;

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchDomainVerificationStatusResponse getDefaultInstanceForType()
Returns
Type Description
FetchDomainVerificationStatusResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTargetSites(int index)

public TargetSite getTargetSites(int index)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetSite

getTargetSitesBuilder(int index)

public TargetSite.Builder getTargetSitesBuilder(int index)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetSite.Builder

getTargetSitesBuilderList()

public List<TargetSite.Builder> getTargetSitesBuilderList()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
List<Builder>

getTargetSitesCount()

public int getTargetSitesCount()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
int

getTargetSitesList()

public List<TargetSite> getTargetSitesList()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
List<TargetSite>

getTargetSitesOrBuilder(int index)

public TargetSiteOrBuilder getTargetSitesOrBuilder(int index)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetSiteOrBuilder

getTargetSitesOrBuilderList()

public List<? extends TargetSiteOrBuilder> getTargetSitesOrBuilderList()

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.TargetSiteOrBuilder>

getTotalSize()

public int getTotalSize()

The total number of items matching the request. This will always be populated in the response.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchDomainVerificationStatusResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTargetSites(int index)

public FetchDomainVerificationStatusResponse.Builder removeTargetSites(int index)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public FetchDomainVerificationStatusResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchDomainVerificationStatusResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

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

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

setTargetSites(int index, TargetSite value)

public FetchDomainVerificationStatusResponse.Builder setTargetSites(int index, TargetSite value)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameters
Name Description
index int
value TargetSite
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

setTargetSites(int index, TargetSite.Builder builderForValue)

public FetchDomainVerificationStatusResponse.Builder setTargetSites(int index, TargetSite.Builder builderForValue)

List of TargetSites containing the site verification status.

repeated .google.cloud.discoveryengine.v1alpha.TargetSite target_sites = 1;

Parameters
Name Description
index int
builderForValue TargetSite.Builder
Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

setTotalSize(int value)

public FetchDomainVerificationStatusResponse.Builder setTotalSize(int value)

The total number of items matching the request. This will always be populated in the response.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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