Class BackgroundJobLogEntry.ImportRulesJobDetails.Builder (2.45.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
Type Description
Descriptor

Methods

addAllFiles(Iterable<String> values)

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

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The files to add.

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addFiles(String value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder addFiles(String value)

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The files to add.

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addFilesBytes(ByteString value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder addFilesBytes(ByteString value)

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the files to add.

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackgroundJobLogEntry.ImportRulesJobDetails build()
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails

buildPartial()

public BackgroundJobLogEntry.ImportRulesJobDetails buildPartial()
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails

clear()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clear()
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFileFormat()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clearFileFormat()

Output only. The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

clearFiles()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clearFiles()

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder clone()
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder
Overrides

getDefaultInstanceForType()

public BackgroundJobLogEntry.ImportRulesJobDetails getDefaultInstanceForType()
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails

getDescriptorForType()

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

getFileFormat()

public ImportRulesFileFormat getFileFormat()

Output only. The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportRulesFileFormat

The fileFormat.

getFileFormatValue()

public int getFileFormatValue()

Output only. The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for fileFormat.

getFiles(int index)

public String getFiles(int index)

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The files at the given index.

getFilesBytes(int index)

public ByteString getFilesBytes(int index)

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the files at the given index.

getFilesCount()

public int getFilesCount()

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of files.

getFilesList()

public ProtocolStringList getFilesList()

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the files.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackgroundJobLogEntry.ImportRulesJobDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileFormat(ImportRulesFileFormat value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder setFileFormat(ImportRulesFileFormat value)

Output only. The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ImportRulesFileFormat

The fileFormat to set.

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

setFileFormatValue(int value)

public BackgroundJobLogEntry.ImportRulesJobDetails.Builder setFileFormatValue(int value)

Output only. The requested file format.

.google.cloud.clouddms.v1.ImportRulesFileFormat file_format = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder

This builder for chaining.

setFiles(int index, String value)

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

Output only. File names used for the import rules job.

repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The files to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackgroundJobLogEntry.ImportRulesJobDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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