Class FetchDomainVerificationStatusResponse.Builder (0.35.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.v1.FetchDomainVerificationStatusResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1.TargetSite>
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchDomainVerificationStatusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

addTargetSites(TargetSite value)

public FetchDomainVerificationStatusResponse.Builder addTargetSites(TargetSite value)

List of TargetSites containing the site verification status.

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

Parameter
NameDescription
valueTargetSite
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameter
NameDescription
builderForValueTargetSite.Builder
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameters
NameDescription
indexint
valueTargetSite
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameters
NameDescription
indexint
builderForValueTargetSite.Builder
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder

addTargetSitesBuilder()

public TargetSite.Builder addTargetSitesBuilder()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
TargetSite.Builder

addTargetSitesBuilder(int index)

public TargetSite.Builder addTargetSitesBuilder(int index)

List of TargetSites containing the site verification status.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite.Builder

build()

public FetchDomainVerificationStatusResponse build()
Returns
TypeDescription
FetchDomainVerificationStatusResponse

buildPartial()

public FetchDomainVerificationStatusResponse buildPartial()
Returns
TypeDescription
FetchDomainVerificationStatusResponse

clear()

public FetchDomainVerificationStatusResponse.Builder clear()
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchDomainVerificationStatusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchDomainVerificationStatusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

clearTargetSites()

public FetchDomainVerificationStatusResponse.Builder clearTargetSites()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
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
TypeDescription
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

clone()

public FetchDomainVerificationStatusResponse.Builder clone()
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchDomainVerificationStatusResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchDomainVerificationStatusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite

getTargetSitesBuilder(int index)

public TargetSite.Builder getTargetSitesBuilder(int index)

List of TargetSites containing the site verification status.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite.Builder

getTargetSitesBuilderList()

public List<TargetSite.Builder> getTargetSitesBuilderList()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
List<Builder>

getTargetSitesCount()

public int getTargetSitesCount()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
int

getTargetSitesList()

public List<TargetSite> getTargetSitesList()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
List<TargetSite>

getTargetSitesOrBuilder(int index)

public TargetSiteOrBuilder getTargetSitesOrBuilder(int index)

List of TargetSites containing the site verification status.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSiteOrBuilder

getTargetSitesOrBuilderList()

public List<? extends TargetSiteOrBuilder> getTargetSitesOrBuilderList()

List of TargetSites containing the site verification status.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1.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
TypeDescription
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchDomainVerificationStatusResponse other)

public FetchDomainVerificationStatusResponse.Builder mergeFrom(FetchDomainVerificationStatusResponse other)
Parameter
NameDescription
otherFetchDomainVerificationStatusResponse
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchDomainVerificationStatusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FetchDomainVerificationStatusResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchDomainVerificationStatusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides

removeTargetSites(int index)

public FetchDomainVerificationStatusResponse.Builder removeTargetSites(int index)

List of TargetSites containing the site verification status.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchDomainVerificationStatusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameters
NameDescription
indexint
valueTargetSite
Returns
TypeDescription
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.v1.TargetSite target_sites = 1;

Parameters
NameDescription
indexint
builderForValueTargetSite.Builder
Returns
TypeDescription
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
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchDomainVerificationStatusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchDomainVerificationStatusResponse.Builder
Overrides