Class FileLocation.Builder (2.4.5)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileLocation build()
Returns
TypeDescription
FileLocation

buildPartial()

public FileLocation buildPartial()
Returns
TypeDescription
FileLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FileLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FileLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FileLocation getDefaultInstanceForType()
Returns
TypeDescription
FileLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for filePath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FileLocation other)

public FileLocation.Builder mergeFrom(FileLocation other)
Parameter
NameDescription
otherFileLocation
Returns
TypeDescription
FileLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FileLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filePath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filePath to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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