Class GetImportDataFileRequest.Builder (0.36.0)

public static final class GetImportDataFileRequest.Builder extends GeneratedMessageV3.Builder<GetImportDataFileRequest.Builder> implements GetImportDataFileRequestOrBuilder

A request to get an import data file.

Protobuf type google.cloud.migrationcenter.v1.GetImportDataFileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetImportDataFileRequest build()
Returns
Type Description
GetImportDataFileRequest

buildPartial()

public GetImportDataFileRequest buildPartial()
Returns
Type Description
GetImportDataFileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetImportDataFileRequest.Builder clearName()

Required. Name of the ImportDataFile.

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

Returns
Type Description
GetImportDataFileRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetImportDataFileRequest getDefaultInstanceForType()
Returns
Type Description
GetImportDataFileRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the ImportDataFile.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the ImportDataFile.

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(GetImportDataFileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetImportDataFileRequest.Builder setName(String value)

Required. Name of the ImportDataFile.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetImportDataFileRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetImportDataFileRequest.Builder setNameBytes(ByteString value)

Required. Name of the ImportDataFile.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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