Class OpenFileDetails.Builder (0.26.0)

public static final class OpenFileDetails.Builder extends GeneratedMessageV3.Builder<OpenFileDetails.Builder> implements OpenFileDetailsOrBuilder

Open file Information.

Protobuf type google.cloud.migrationcenter.v1.OpenFileDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OpenFileDetails build()
Returns
Type Description
OpenFileDetails

buildPartial()

public OpenFileDetails buildPartial()
Returns
Type Description
OpenFileDetails

clear()

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

clearCommand()

public OpenFileDetails.Builder clearCommand()

Opened file command.

string command = 1;

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilePath()

public OpenFileDetails.Builder clearFilePath()

Opened file file path.

string file_path = 4;

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

clearFileType()

public OpenFileDetails.Builder clearFileType()

Opened file file type.

string file_type = 3;

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUser()

public OpenFileDetails.Builder clearUser()

Opened file user.

string user = 2;

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

clone()

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

getCommand()

public String getCommand()

Opened file command.

string command = 1;

Returns
Type Description
String

The command.

getCommandBytes()

public ByteString getCommandBytes()

Opened file command.

string command = 1;

Returns
Type Description
ByteString

The bytes for command.

getDefaultInstanceForType()

public OpenFileDetails getDefaultInstanceForType()
Returns
Type Description
OpenFileDetails

getDescriptorForType()

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

getFilePath()

public String getFilePath()

Opened file file path.

string file_path = 4;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public ByteString getFilePathBytes()

Opened file file path.

string file_path = 4;

Returns
Type Description
ByteString

The bytes for filePath.

getFileType()

public String getFileType()

Opened file file type.

string file_type = 3;

Returns
Type Description
String

The fileType.

getFileTypeBytes()

public ByteString getFileTypeBytes()

Opened file file type.

string file_type = 3;

Returns
Type Description
ByteString

The bytes for fileType.

getUser()

public String getUser()

Opened file user.

string user = 2;

Returns
Type Description
String

The user.

getUserBytes()

public ByteString getUserBytes()

Opened file user.

string user = 2;

Returns
Type Description
ByteString

The bytes for user.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OpenFileDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommand(String value)

public OpenFileDetails.Builder setCommand(String value)

Opened file command.

string command = 1;

Parameter
Name Description
value String

The command to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setCommandBytes(ByteString value)

public OpenFileDetails.Builder setCommandBytes(ByteString value)

Opened file command.

string command = 1;

Parameter
Name Description
value ByteString

The bytes for command to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilePath(String value)

public OpenFileDetails.Builder setFilePath(String value)

Opened file file path.

string file_path = 4;

Parameter
Name Description
value String

The filePath to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setFilePathBytes(ByteString value)

public OpenFileDetails.Builder setFilePathBytes(ByteString value)

Opened file file path.

string file_path = 4;

Parameter
Name Description
value ByteString

The bytes for filePath to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setFileType(String value)

public OpenFileDetails.Builder setFileType(String value)

Opened file file type.

string file_type = 3;

Parameter
Name Description
value String

The fileType to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setFileTypeBytes(ByteString value)

public OpenFileDetails.Builder setFileTypeBytes(ByteString value)

Opened file file type.

string file_type = 3;

Parameter
Name Description
value ByteString

The bytes for fileType to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUser(String value)

public OpenFileDetails.Builder setUser(String value)

Opened file user.

string user = 2;

Parameter
Name Description
value String

The user to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.

setUserBytes(ByteString value)

public OpenFileDetails.Builder setUserBytes(ByteString value)

Opened file user.

string user = 2;

Parameter
Name Description
value ByteString

The bytes for user to set.

Returns
Type Description
OpenFileDetails.Builder

This builder for chaining.