Class BatchCreateTargetSitesResponse.Builder (0.39.0)

public static final class BatchCreateTargetSitesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateTargetSitesResponse.Builder> implements BatchCreateTargetSitesResponseOrBuilder

Response message for SiteSearchEngineService.BatchCreateTargetSites method.

Protobuf type google.cloud.discoveryengine.v1beta.BatchCreateTargetSitesResponse

Static Methods

getDescriptor()

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

Methods

addAllTargetSites(Iterable<? extends TargetSite> values)

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

TargetSites created.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetSites(TargetSite value)

public BatchCreateTargetSitesResponse.Builder addTargetSites(TargetSite value)

TargetSites created.

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

Parameter
Name Description
value TargetSite
Returns
Type Description
BatchCreateTargetSitesResponse.Builder

addTargetSites(TargetSite.Builder builderForValue)

public BatchCreateTargetSitesResponse.Builder addTargetSites(TargetSite.Builder builderForValue)

TargetSites created.

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

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

addTargetSites(int index, TargetSite value)

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

TargetSites created.

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

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

addTargetSites(int index, TargetSite.Builder builderForValue)

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

TargetSites created.

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

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

addTargetSitesBuilder()

public TargetSite.Builder addTargetSitesBuilder()

TargetSites created.

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

Returns
Type Description
TargetSite.Builder

addTargetSitesBuilder(int index)

public TargetSite.Builder addTargetSitesBuilder(int index)

TargetSites created.

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

Parameter
Name Description
index int
Returns
Type Description
TargetSite.Builder

build()

public BatchCreateTargetSitesResponse build()
Returns
Type Description
BatchCreateTargetSitesResponse

buildPartial()

public BatchCreateTargetSitesResponse buildPartial()
Returns
Type Description
BatchCreateTargetSitesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetSites()

public BatchCreateTargetSitesResponse.Builder clearTargetSites()

TargetSites created.

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

Returns
Type Description
BatchCreateTargetSitesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateTargetSitesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateTargetSitesResponse

getDescriptorForType()

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

getTargetSites(int index)

public TargetSite getTargetSites(int index)

TargetSites created.

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

Parameter
Name Description
index int
Returns
Type Description
TargetSite

getTargetSitesBuilder(int index)

public TargetSite.Builder getTargetSitesBuilder(int index)

TargetSites created.

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

Parameter
Name Description
index int
Returns
Type Description
TargetSite.Builder

getTargetSitesBuilderList()

public List<TargetSite.Builder> getTargetSitesBuilderList()

TargetSites created.

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

Returns
Type Description
List<Builder>

getTargetSitesCount()

public int getTargetSitesCount()

TargetSites created.

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

Returns
Type Description
int

getTargetSitesList()

public List<TargetSite> getTargetSitesList()

TargetSites created.

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

Returns
Type Description
List<TargetSite>

getTargetSitesOrBuilder(int index)

public TargetSiteOrBuilder getTargetSitesOrBuilder(int index)

TargetSites created.

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

Parameter
Name Description
index int
Returns
Type Description
TargetSiteOrBuilder

getTargetSitesOrBuilderList()

public List<? extends TargetSiteOrBuilder> getTargetSitesOrBuilderList()

TargetSites created.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateTargetSitesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTargetSites(int index)

public BatchCreateTargetSitesResponse.Builder removeTargetSites(int index)

TargetSites created.

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

Parameter
Name Description
index int
Returns
Type Description
BatchCreateTargetSitesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetSites(int index, TargetSite value)

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

TargetSites created.

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

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

setTargetSites(int index, TargetSite.Builder builderForValue)

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

TargetSites created.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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