Class GetFileUploadRequest.Builder (0.7.0)

public static final class GetFileUploadRequest.Builder extends GeneratedMessageV3.Builder<GetFileUploadRequest.Builder> implements GetFileUploadRequestOrBuilder

Request message for the GetFileUploadRequest method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetFileUploadRequest build()
Returns
Type Description
GetFileUploadRequest

buildPartial()

public GetFileUploadRequest buildPartial()
Returns
Type Description
GetFileUploadRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetFileUploadRequest.Builder clearName()

Required. The name of the data source file upload to retrieve. Format: accounts/{account}/dataSources/{datasource}/fileUploads/latest

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

Returns
Type Description
GetFileUploadRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetFileUploadRequest getDefaultInstanceForType()
Returns
Type Description
GetFileUploadRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the data source file upload to retrieve. Format: accounts/{account}/dataSources/{datasource}/fileUploads/latest

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 file upload to retrieve. Format: accounts/{account}/dataSources/{datasource}/fileUploads/latest

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 GetFileUploadRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetFileUploadRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(GetFileUploadRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetFileUploadRequest.Builder setName(String value)

Required. The name of the data source file upload to retrieve. Format: accounts/{account}/dataSources/{datasource}/fileUploads/latest

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetFileUploadRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetFileUploadRequest.Builder setNameBytes(ByteString value)

Required. The name of the data source file upload to retrieve. Format: accounts/{account}/dataSources/{datasource}/fileUploads/latest

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
GetFileUploadRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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