Class BatchCreateTargetSitesResponse.Builder (0.36.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.v1.BatchCreateTargetSitesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTargetSites(Iterable<? extends TargetSite> values)

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

TargetSites created.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetSites(TargetSite value)

public BatchCreateTargetSitesResponse.Builder addTargetSites(TargetSite value)

TargetSites created.

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

Parameter
NameDescription
valueTargetSite
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

addTargetSites(TargetSite.Builder builderForValue)

public BatchCreateTargetSitesResponse.Builder addTargetSites(TargetSite.Builder builderForValue)

TargetSites created.

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

Parameter
NameDescription
builderForValueTargetSite.Builder
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

addTargetSites(int index, TargetSite value)

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

TargetSites created.

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

Parameters
NameDescription
indexint
valueTargetSite
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

addTargetSites(int index, TargetSite.Builder builderForValue)

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

TargetSites created.

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

Parameters
NameDescription
indexint
builderForValueTargetSite.Builder
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

addTargetSitesBuilder()

public TargetSite.Builder addTargetSitesBuilder()

TargetSites created.

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

Returns
TypeDescription
TargetSite.Builder

addTargetSitesBuilder(int index)

public TargetSite.Builder addTargetSitesBuilder(int index)

TargetSites created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite.Builder

build()

public BatchCreateTargetSitesResponse build()
Returns
TypeDescription
BatchCreateTargetSitesResponse

buildPartial()

public BatchCreateTargetSitesResponse buildPartial()
Returns
TypeDescription
BatchCreateTargetSitesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchCreateTargetSitesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetSites()

public BatchCreateTargetSitesResponse.Builder clearTargetSites()

TargetSites created.

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

Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateTargetSitesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateTargetSitesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTargetSites(int index)

public TargetSite getTargetSites(int index)

TargetSites created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite

getTargetSitesBuilder(int index)

public TargetSite.Builder getTargetSitesBuilder(int index)

TargetSites created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSite.Builder

getTargetSitesBuilderList()

public List<TargetSite.Builder> getTargetSitesBuilderList()

TargetSites created.

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

Returns
TypeDescription
List<Builder>

getTargetSitesCount()

public int getTargetSitesCount()

TargetSites created.

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

Returns
TypeDescription
int

getTargetSitesList()

public List<TargetSite> getTargetSitesList()

TargetSites created.

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

Returns
TypeDescription
List<TargetSite>

getTargetSitesOrBuilder(int index)

public TargetSiteOrBuilder getTargetSitesOrBuilder(int index)

TargetSites created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetSiteOrBuilder

getTargetSitesOrBuilderList()

public List<? extends TargetSiteOrBuilder> getTargetSitesOrBuilderList()

TargetSites created.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1.TargetSiteOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateTargetSitesResponse other)

public BatchCreateTargetSitesResponse.Builder mergeFrom(BatchCreateTargetSitesResponse other)
Parameter
NameDescription
otherBatchCreateTargetSitesResponse
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTargetSites(int index)

public BatchCreateTargetSitesResponse.Builder removeTargetSites(int index)

TargetSites created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchCreateTargetSitesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder
Overrides

setTargetSites(int index, TargetSite value)

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

TargetSites created.

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

Parameters
NameDescription
indexint
valueTargetSite
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

setTargetSites(int index, TargetSite.Builder builderForValue)

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

TargetSites created.

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

Parameters
NameDescription
indexint
builderForValueTargetSite.Builder
Returns
TypeDescription
BatchCreateTargetSitesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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