Class Metadata.Builder (2.8.0)

  public 
  
 static 
  
 final 
  
 class 
 Metadata 
 . 
 Builder 
  
 extends 
  
 GeneratedMessageV3 
 . 
 Builder<Metadata 
 . 
 Builder 
>  
 implements 
  
 MetadataOrBuilder 
 

Other properties of the build.

Protobuf type grafeas.v1.Metadata

Implements

MetadataOrBuilder

Static Methods

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

Methods

  public 
  
 Metadata 
 . 
 Builder 
  
 addRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
  
 build 
 () 
 
Returns
Type Description
Metadata
  public 
  
 Metadata 
  
 buildPartial 
 () 
 
Returns
Type Description
Metadata
  public 
  
 Metadata 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 clearBuildFinishedOn 
 () 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 clearBuildInvocationId 
 () 
 

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Returns
Type Description
Metadata.Builder

This builder for chaining.

  public 
  
 Metadata 
 . 
 Builder 
  
 clearBuildStartedOn 
 () 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 clearCompleteness 
 () 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 clearField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 ) 
 
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 clearOneof 
 ( 
 Descriptors 
 . 
 OneofDescriptor 
  
 oneof 
 ) 
 
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 clearReproducible 
 () 
 

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

bool reproducible = 5;

Returns
Type Description
Metadata.Builder

This builder for chaining.

  public 
  
 Metadata 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Timestamp 
  
 getBuildFinishedOn 
 () 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
Timestamp

The buildFinishedOn.

  public 
  
 Timestamp 
 . 
 Builder 
  
 getBuildFinishedOnBuilder 
 () 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
Builder
  public 
  
 TimestampOrBuilder 
  
 getBuildFinishedOnOrBuilder 
 () 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
TimestampOrBuilder
  public 
  
 String 
  
 getBuildInvocationId 
 () 
 

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Returns
Type Description
String

The buildInvocationId.

  public 
  
 ByteString 
  
 getBuildInvocationIdBytes 
 () 
 

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Returns
Type Description
ByteString

The bytes for buildInvocationId.

  public 
  
 Timestamp 
  
 getBuildStartedOn 
 () 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
Timestamp

The buildStartedOn.

  public 
  
 Timestamp 
 . 
 Builder 
  
 getBuildStartedOnBuilder 
 () 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
Builder
  public 
  
 TimestampOrBuilder 
  
 getBuildStartedOnOrBuilder 
 () 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
TimestampOrBuilder
  public 
  
 Completeness 
  
 getCompleteness 
 () 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Returns
Type Description
Completeness

The completeness.

  public 
  
 Completeness 
 . 
 Builder 
  
 getCompletenessBuilder 
 () 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Returns
Type Description
Completeness.Builder
  public 
  
 CompletenessOrBuilder 
  
 getCompletenessOrBuilder 
 () 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Returns
Type Description
CompletenessOrBuilder
  public 
  
 Metadata 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type Description
Metadata
  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type Description
Descriptor
Overrides
  public 
  
 boolean 
  
 getReproducible 
 () 
 

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

bool reproducible = 5;

Returns
Type Description
boolean

The reproducible.

  public 
  
 boolean 
  
 hasBuildFinishedOn 
 () 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
boolean

Whether the buildFinishedOn field is set.

  public 
  
 boolean 
  
 hasBuildStartedOn 
 () 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
boolean

Whether the buildStartedOn field is set.

  public 
  
 boolean 
  
 hasCompleteness 
 () 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Returns
Type Description
boolean

Whether the completeness field is set.

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type Description
FieldAccessorTable
Overrides
  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type Description
boolean
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeBuildFinishedOn 
 ( 
 Timestamp 
  
 value 
 ) 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeBuildStartedOn 
 ( 
 Timestamp 
  
 value 
 ) 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeCompleteness 
 ( 
 Completeness 
  
 value 
 ) 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Parameter
Name Description
value Completeness
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Metadata.Builder
Overrides Exceptions
Type Description
IOException
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeFrom 
 ( 
 Message 
  
 other 
 ) 
 
Parameter
Name Description
other Message
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 mergeFrom 
 ( 
 Metadata 
  
 other 
 ) 
 
Parameter
Name Description
other Metadata
Returns
Type Description
Metadata.Builder
  public 
  
 final 
  
 Metadata 
 . 
 Builder 
  
 mergeUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildFinishedOn 
 ( 
 Timestamp 
  
 value 
 ) 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildFinishedOn 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildInvocationId 
 ( 
 String 
  
 value 
 ) 
 

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Parameter
Name Description
value String

The buildInvocationId to set.

Returns
Type Description
Metadata.Builder

This builder for chaining.

  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildInvocationIdBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Parameter
Name Description
value ByteString

The bytes for buildInvocationId to set.

Returns
Type Description
Metadata.Builder

This builder for chaining.

  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildStartedOn 
 ( 
 Timestamp 
  
 value 
 ) 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setBuildStartedOn 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setCompleteness 
 ( 
 Completeness 
  
 value 
 ) 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Parameter
Name Description
value Completeness
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setCompleteness 
 ( 
 Completeness 
 . 
 Builder 
  
 builderForValue 
 ) 
 

Indicates that the builder claims certain fields in this message to be complete.

.grafeas.v1.Completeness completeness = 4;

Parameter
Name Description
builderForValue Completeness.Builder
Returns
Type Description
Metadata.Builder
  public 
  
 Metadata 
 . 
 Builder 
  
 setField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 setRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 int 
  
 index 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Metadata.Builder
Overrides
  public 
  
 Metadata 
 . 
 Builder 
  
 setReproducible 
 ( 
 boolean 
  
 value 
 ) 
 

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

bool reproducible = 5;

Parameter
Name Description
value boolean

The reproducible to set.

Returns
Type Description
Metadata.Builder

This builder for chaining.

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