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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteDataSourceRequest.BuilderImplements
DeleteDataSourceRequestOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public DeleteDataSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeleteDataSourceRequest.Builder |
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 |
clone()
public DeleteDataSourceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
DeleteDataSourceRequest.Builder |
getDefaultInstanceForType()
public DeleteDataSourceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeleteDataSourceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteDataSourceRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeleteDataSourceRequest.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteDataSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeleteDataSourceRequest.Builder |