Class FileLocation.Builder (2.44.0)

public static final class FileLocation.Builder extends GeneratedMessageV3.Builder<FileLocation.Builder> implements FileLocationOrBuilder

Indicates the location at which a package was found.

Protobuf type grafeas.v1.FileLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileLocation build()
Returns
Type Description
FileLocation

buildPartial()

public FileLocation buildPartial()
Returns
Type Description
FileLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilePath()

public FileLocation.Builder clearFilePath()

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

string file_path = 1;

Returns
Type Description
FileLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FileLocation getDefaultInstanceForType()
Returns
Type Description
FileLocation

getDescriptorForType()

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

getFilePath()

public String getFilePath()

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

string file_path = 1;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public ByteString getFilePathBytes()

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

string file_path = 1;

Returns
Type Description
ByteString

The bytes for filePath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FileLocation other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilePath(String value)

public FileLocation.Builder setFilePath(String value)

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

string file_path = 1;

Parameter
Name Description
value String

The filePath to set.

Returns
Type Description
FileLocation.Builder

This builder for chaining.

setFilePathBytes(ByteString value)

public FileLocation.Builder setFilePathBytes(ByteString value)

For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.

string file_path = 1;

Parameter
Name Description
value ByteString

The bytes for filePath to set.

Returns
Type Description
FileLocation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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