public static final class ListTargetSitesResponse.Builder extends GeneratedMessageV3.Builder<ListTargetSitesResponse.Builder> implements ListTargetSitesResponseOrBuilder
Response message for
SiteSearchEngineService.ListTargetSites
method.
Protobuf type google.cloud.discoveryengine.v1beta.ListTargetSitesResponse
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
addAllTargetSites(Iterable<? extends TargetSite> values)
public ListTargetSitesResponse.Builder addAllTargetSites(Iterable<? extends TargetSite> values)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.TargetSite>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTargetSitesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTargetSites(TargetSite value)
public ListTargetSitesResponse.Builder addTargetSites(TargetSite value)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
addTargetSites(TargetSite.Builder builderForValue)
public ListTargetSitesResponse.Builder addTargetSites(TargetSite.Builder builderForValue)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
addTargetSites(int index, TargetSite value)
public ListTargetSitesResponse.Builder addTargetSites(int index, TargetSite value)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
addTargetSites(int index, TargetSite.Builder builderForValue)
public ListTargetSitesResponse.Builder addTargetSites(int index, TargetSite.Builder builderForValue)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
addTargetSitesBuilder()
public TargetSite.Builder addTargetSitesBuilder()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
addTargetSitesBuilder(int index)
public TargetSite.Builder addTargetSitesBuilder(int index)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListTargetSitesResponse build()
buildPartial()
public ListTargetSitesResponse buildPartial()
clear()
public ListTargetSitesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTargetSitesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListTargetSitesResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTargetSitesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetSites()
public ListTargetSitesResponse.Builder clearTargetSites()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
clearTotalSize()
public ListTargetSitesResponse.Builder clearTotalSize()
The total number of items matching the request.
This will always be populated in the response.
int32 total_size = 3;
clone()
public ListTargetSitesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTargetSitesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
index |
int
|
getTargetSitesBuilder(int index)
public TargetSite.Builder getTargetSitesBuilder(int index)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
index |
int
|
getTargetSitesBuilderList()
public List<TargetSite.Builder> getTargetSitesBuilderList()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
getTargetSitesCount()
public int getTargetSitesCount()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Returns |
Type |
Description |
int |
|
getTargetSitesList()
public List<TargetSite> getTargetSitesList()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
getTargetSitesOrBuilder(int index)
public TargetSiteOrBuilder getTargetSitesOrBuilder(int index)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
index |
int
|
getTargetSitesOrBuilderList()
public List<? extends TargetSiteOrBuilder> getTargetSitesOrBuilderList()
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListTargetSitesResponse other)
public ListTargetSitesResponse.Builder mergeFrom(ListTargetSitesResponse other)
public ListTargetSitesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTargetSitesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTargetSitesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTargetSites(int index)
public ListTargetSitesResponse.Builder removeTargetSites(int index)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTargetSitesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListTargetSitesResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListTargetSitesResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTargetSitesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetSites(int index, TargetSite value)
public ListTargetSitesResponse.Builder setTargetSites(int index, TargetSite value)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
setTargetSites(int index, TargetSite.Builder builderForValue)
public ListTargetSitesResponse.Builder setTargetSites(int index, TargetSite.Builder builderForValue)
List of TargetSites.
repeated .google.cloud.discoveryengine.v1beta.TargetSite target_sites = 1;
setTotalSize(int value)
public ListTargetSitesResponse.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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTargetSitesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides