Class FileLocation.Builder (2.69.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

  public 
  
 FileLocation 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 FileLocation 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 FileLocation 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearField(Descriptors.FieldDescriptor field)

  public 
  
 FileLocation 
 . 
 Builder 
  
 clearField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
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

This builder for chaining.

clearLayerDetails()

  public 
  
 FileLocation 
 . 
 Builder 
  
 clearLayerDetails 
 () 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type
Description

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

  public 
  
 FileLocation 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type
Description
Overrides

getDefaultInstanceForType()

  public 
  
 FileLocation 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

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

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

The bytes for filePath.

getLayerDetails()

  public 
  
 LayerDetails 
  
 getLayerDetails 
 () 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type
Description

The layerDetails.

getLayerDetailsBuilder()

  public 
  
 LayerDetails 
 . 
 Builder 
  
 getLayerDetailsBuilder 
 () 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type
Description

getLayerDetailsOrBuilder()

  public 
  
 LayerDetailsOrBuilder 
  
 getLayerDetailsOrBuilder 
 () 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type
Description

hasLayerDetails()

  public 
  
 boolean 
  
 hasLayerDetails 
 () 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Returns
Type
Description

Whether the layerDetails field is set.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FileLocation other)

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

mergeLayerDetails(LayerDetails value)

  public 
  
 FileLocation 
 . 
 Builder 
  
 mergeLayerDetails 
 ( 
 LayerDetails 
  
 value 
 ) 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Parameter
Name
Description
value
Returns
Type
Description

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 FileLocation 
 . 
 Builder 
  
 setField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
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

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

This builder for chaining.

setLayerDetails(LayerDetails value)

  public 
  
 FileLocation 
 . 
 Builder 
  
 setLayerDetails 
 ( 
 LayerDetails 
  
 value 
 ) 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Parameter
Name
Description
value
Returns
Type
Description

setLayerDetails(LayerDetails.Builder builderForValue)

  public 
  
 FileLocation 
 . 
 Builder 
  
 setLayerDetails 
 ( 
 LayerDetails 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

.grafeas.v1.LayerDetails layer_details = 2;

Parameter
Name
Description
builderForValue
Returns
Type
Description

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

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

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 FileLocation 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: