Class BackgroundJobLogEntry.ImportRulesJobDetails.Builder (2.19.0)

public static final class BackgroundJobLogEntry.ImportRulesJobDetails.Builder extends GeneratedMessageV3.Builder<BackgroundJobLogEntry.ImportRulesJobDetails.Builder> implements BackgroundJobLogEntry.ImportRulesJobDetailsOrBuilder

Details regarding an Import Rules background job.

Protobuf type google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails

Static Methods

getDescriptor()

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

Methods

addAllFiles(Iterable<String> values)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder addAllFiles(Iterable<String> values)

File names used for the import rules job.

repeated string files = 1;

Parameter
NameDescription
valuesIterable<String>

The files to add.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addFiles(String value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder addFiles(String value)

File names used for the import rules job.

repeated string files = 1;

Parameter
NameDescription
valueString

The files to add.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addFilesBytes(ByteString value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder addFilesBytes(ByteString value)

File names used for the import rules job.

repeated string files = 1;

Parameter
NameDescription
valueByteString

The bytes of the files to add.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackgroundJobLogEntry.ImportRulesJobDetails build()
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails

buildPartial()

public BackgroundJobLogEntry.ImportRulesJobDetails buildPartial()
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails

clear()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clear()
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFileFormat()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clearFileFormat()

The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2;

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

clearFiles()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clearFiles()

File names used for the import rules job.

repeated string files = 1;

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clone()
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder
Overrides

getDefaultInstanceForType()

public BackgroundJobLogEntry.ImportRulesJobDetails getDefaultInstanceForType()
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFileFormat()

public ImportRulesFileFormat getFileFormat()

The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2;

Returns
TypeDescription
ImportRulesFileFormat

The fileFormat.

getFileFormatValue()

public int getFileFormatValue()

The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for fileFormat.

getFiles(int index)

public String getFiles(int index)

File names used for the import rules job.

repeated string files = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The files at the given index.

getFilesBytes(int index)

public ByteString getFilesBytes(int index)

File names used for the import rules job.

repeated string files = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the files at the given index.

getFilesCount()

public int getFilesCount()

File names used for the import rules job.

repeated string files = 1;

Returns
TypeDescription
int

The count of files.

getFilesList()

public ProtocolStringList getFilesList()

File names used for the import rules job.

repeated string files = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the files.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BackgroundJobLogEntry.ImportRulesJobDetails other)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder mergeFrom(BackgroundJobLogEntry.ImportRulesJobDetails other)
Parameter
NameDescription
otherBackgroundJobLogEntry.ImportRulesJobDetails
Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileFormat(ImportRulesFileFormat value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder setFileFormat(ImportRulesFileFormat value)

The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2;

Parameter
NameDescription
valueImportRulesFileFormat

The fileFormat to set.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

setFileFormatValue(int value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder setFileFormatValue(int value)

The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for fileFormat to set.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

setFiles(int index, String value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder setFiles(int index, String value)

File names used for the import rules job.

repeated string files = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The files to set.

Returns
TypeDescription
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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