public static final class Details.Builder extends GeneratedMessageV3.Builder<Details.Builder> implements DetailsOrBuilder
Details of a build occurrence.
Protobuf type grafeas.v1beta1.build.Details
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Details.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Details buildPartial()
clear()
public Details.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Details.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Details.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProvenance()
public Details.Builder clearProvenance()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
clearProvenanceBytes()
public Details.Builder clearProvenanceBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
clone()
public Details.Builder clone()
Overrides
getDefaultInstanceForType()
public Details getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProvenance()
public BuildProvenance getProvenance()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
getProvenanceBuilder()
public BuildProvenance.Builder getProvenanceBuilder()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
getProvenanceBytes()
public String getProvenanceBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Returns |
Type |
Description |
String |
The provenanceBytes.
|
getProvenanceBytesBytes()
public ByteString getProvenanceBytesBytes()
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Returns |
Type |
Description |
ByteString |
The bytes for provenanceBytes.
|
getProvenanceOrBuilder()
public BuildProvenanceOrBuilder getProvenanceOrBuilder()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
hasProvenance()
public boolean hasProvenance()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
Returns |
Type |
Description |
boolean |
Whether the provenance field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Details.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Details.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Details other)
public Details.Builder mergeFrom(Details other)
Parameter |
Name |
Description |
other |
Details
|
mergeProvenance(BuildProvenance value)
public Details.Builder mergeProvenance(BuildProvenance value)
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Details.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Details.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProvenance(BuildProvenance value)
public Details.Builder setProvenance(BuildProvenance value)
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
setProvenance(BuildProvenance.Builder builderForValue)
public Details.Builder setProvenance(BuildProvenance.Builder builderForValue)
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
setProvenanceBytes(String value)
public Details.Builder setProvenanceBytes(String value)
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Parameter |
Name |
Description |
value |
String
The provenanceBytes to set.
|
setProvenanceBytesBytes(ByteString value)
public Details.Builder setProvenanceBytesBytes(ByteString value)
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes
can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
string provenance_bytes = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for provenanceBytes to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Details.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Details.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides