Class OpenFileDetails.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OpenFileDetails build()
Returns
TypeDescription
OpenFileDetails

buildPartial()

public OpenFileDetails buildPartial()
Returns
TypeDescription
OpenFileDetails

clear()

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

clearCommand()

public OpenFileDetails.Builder clearCommand()

Opened file command.

string command = 1;

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilePath()

public OpenFileDetails.Builder clearFilePath()

Opened file file path.

string file_path = 4;

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

clearFileType()

public OpenFileDetails.Builder clearFileType()

Opened file file type.

string file_type = 3;

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUser()

public OpenFileDetails.Builder clearUser()

Opened file user.

string user = 2;

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

clone()

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

getCommand()

public String getCommand()

Opened file command.

string command = 1;

Returns
TypeDescription
String

The command.

getCommandBytes()

public ByteString getCommandBytes()

Opened file command.

string command = 1;

Returns
TypeDescription
ByteString

The bytes for command.

getDefaultInstanceForType()

public OpenFileDetails getDefaultInstanceForType()
Returns
TypeDescription
OpenFileDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilePath()

public String getFilePath()

Opened file file path.

string file_path = 4;

Returns
TypeDescription
String

The filePath.

getFilePathBytes()

public ByteString getFilePathBytes()

Opened file file path.

string file_path = 4;

Returns
TypeDescription
ByteString

The bytes for filePath.

getFileType()

public String getFileType()

Opened file file type.

string file_type = 3;

Returns
TypeDescription
String

The fileType.

getFileTypeBytes()

public ByteString getFileTypeBytes()

Opened file file type.

string file_type = 3;

Returns
TypeDescription
ByteString

The bytes for fileType.

getUser()

public String getUser()

Opened file user.

string user = 2;

Returns
TypeDescription
String

The user.

getUserBytes()

public ByteString getUserBytes()

Opened file user.

string user = 2;

Returns
TypeDescription
ByteString

The bytes for user.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OpenFileDetails other)

public OpenFileDetails.Builder mergeFrom(OpenFileDetails other)
Parameter
NameDescription
otherOpenFileDetails
Returns
TypeDescription
OpenFileDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommand(String value)

public OpenFileDetails.Builder setCommand(String value)

Opened file command.

string command = 1;

Parameter
NameDescription
valueString

The command to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setCommandBytes(ByteString value)

public OpenFileDetails.Builder setCommandBytes(ByteString value)

Opened file command.

string command = 1;

Parameter
NameDescription
valueByteString

The bytes for command to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilePath(String value)

public OpenFileDetails.Builder setFilePath(String value)

Opened file file path.

string file_path = 4;

Parameter
NameDescription
valueString

The filePath to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setFilePathBytes(ByteString value)

public OpenFileDetails.Builder setFilePathBytes(ByteString value)

Opened file file path.

string file_path = 4;

Parameter
NameDescription
valueByteString

The bytes for filePath to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setFileType(String value)

public OpenFileDetails.Builder setFileType(String value)

Opened file file type.

string file_type = 3;

Parameter
NameDescription
valueString

The fileType to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setFileTypeBytes(ByteString value)

public OpenFileDetails.Builder setFileTypeBytes(ByteString value)

Opened file file type.

string file_type = 3;

Parameter
NameDescription
valueByteString

The bytes for fileType to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OpenFileDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUser(String value)

public OpenFileDetails.Builder setUser(String value)

Opened file user.

string user = 2;

Parameter
NameDescription
valueString

The user to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.

setUserBytes(ByteString value)

public OpenFileDetails.Builder setUserBytes(ByteString value)

Opened file user.

string user = 2;

Parameter
NameDescription
valueByteString

The bytes for user to set.

Returns
TypeDescription
OpenFileDetails.Builder

This builder for chaining.