Class DeleteDataSourceRequest.Builder (0.11.0)

public static final class DeleteDataSourceRequest.Builder extends GeneratedMessageV3.Builder<DeleteDataSourceRequest.Builder> implements DeleteDataSourceRequestOrBuilder

Request message for the DeleteDataSource method.

Protobuf type google.shopping.merchant.datasources.v1beta.DeleteDataSourceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteDataSourceRequest build()
Returns
Type Description
DeleteDataSourceRequest

buildPartial()

public DeleteDataSourceRequest buildPartial()
Returns
Type Description
DeleteDataSourceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteDataSourceRequest.Builder clearName()

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteDataSourceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteDataSourceRequest getDefaultInstanceForType()
Returns
Type Description
DeleteDataSourceRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DeleteDataSourceRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteDataSourceRequest.Builder setName(String value)

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteDataSourceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteDataSourceRequest.Builder setNameBytes(ByteString value)

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteDataSourceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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