Class OpenFileList.Builder (0.21.0)

public static final class OpenFileList.Builder extends GeneratedMessageV3.Builder<OpenFileList.Builder> implements OpenFileListOrBuilder

Open file list.

Protobuf type google.cloud.migrationcenter.v1.OpenFileList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends OpenFileDetails> values)

public OpenFileList.Builder addAllEntries(Iterable<? extends OpenFileDetails> values)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.OpenFileDetails>
Returns
TypeDescription
OpenFileList.Builder

addEntries(OpenFileDetails value)

public OpenFileList.Builder addEntries(OpenFileDetails value)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
valueOpenFileDetails
Returns
TypeDescription
OpenFileList.Builder

addEntries(OpenFileDetails.Builder builderForValue)

public OpenFileList.Builder addEntries(OpenFileDetails.Builder builderForValue)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
builderForValueOpenFileDetails.Builder
Returns
TypeDescription
OpenFileList.Builder

addEntries(int index, OpenFileDetails value)

public OpenFileList.Builder addEntries(int index, OpenFileDetails value)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameters
NameDescription
indexint
valueOpenFileDetails
Returns
TypeDescription
OpenFileList.Builder

addEntries(int index, OpenFileDetails.Builder builderForValue)

public OpenFileList.Builder addEntries(int index, OpenFileDetails.Builder builderForValue)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameters
NameDescription
indexint
builderForValueOpenFileDetails.Builder
Returns
TypeDescription
OpenFileList.Builder

addEntriesBuilder()

public OpenFileDetails.Builder addEntriesBuilder()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
OpenFileDetails.Builder

addEntriesBuilder(int index)

public OpenFileDetails.Builder addEntriesBuilder(int index)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OpenFileDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OpenFileList build()
Returns
TypeDescription
OpenFileList

buildPartial()

public OpenFileList buildPartial()
Returns
TypeDescription
OpenFileList

clear()

public OpenFileList.Builder clear()
Returns
TypeDescription
OpenFileList.Builder
Overrides

clearEntries()

public OpenFileList.Builder clearEntries()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
OpenFileList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public OpenFileList.Builder clone()
Returns
TypeDescription
OpenFileList.Builder
Overrides

getDefaultInstanceForType()

public OpenFileList getDefaultInstanceForType()
Returns
TypeDescription
OpenFileList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public OpenFileDetails getEntries(int index)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OpenFileDetails

getEntriesBuilder(int index)

public OpenFileDetails.Builder getEntriesBuilder(int index)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OpenFileDetails.Builder

getEntriesBuilderList()

public List<OpenFileDetails.Builder> getEntriesBuilderList()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
int

getEntriesList()

public List<OpenFileDetails> getEntriesList()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
List<OpenFileDetails>

getEntriesOrBuilder(int index)

public OpenFileDetailsOrBuilder getEntriesOrBuilder(int index)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OpenFileDetailsOrBuilder

getEntriesOrBuilderList()

public List<? extends OpenFileDetailsOrBuilder> getEntriesOrBuilderList()

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.OpenFileDetailsOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OpenFileList other)

public OpenFileList.Builder mergeFrom(OpenFileList other)
Parameter
NameDescription
otherOpenFileList
Returns
TypeDescription
OpenFileList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public OpenFileList.Builder removeEntries(int index)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OpenFileList.Builder

setEntries(int index, OpenFileDetails value)

public OpenFileList.Builder setEntries(int index, OpenFileDetails value)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameters
NameDescription
indexint
valueOpenFileDetails
Returns
TypeDescription
OpenFileList.Builder

setEntries(int index, OpenFileDetails.Builder builderForValue)

public OpenFileList.Builder setEntries(int index, OpenFileDetails.Builder builderForValue)

Open file details entries.

repeated .google.cloud.migrationcenter.v1.OpenFileDetails entries = 1;

Parameters
NameDescription
indexint
builderForValueOpenFileDetails.Builder
Returns
TypeDescription
OpenFileList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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