public static final class BuildOccurrence.Builder extends GeneratedMessageV3.Builder<BuildOccurrence.Builder> implements BuildOccurrenceOrBuilder
Details of a build occurrence.Protobuf type
grafeas.v1.BuildOccurrence
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BuildOccurrence build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BuildOccurrence buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BuildOccurrence.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder mergeFrom(BuildOccurrence other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public BuildOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BuildOccurrence.Builder>
IOException
public boolean hasProvenance()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
hasProvenance
in interface BuildOccurrenceOrBuilder
public BuildProvenance getProvenance()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
getProvenance
in interface BuildOccurrenceOrBuilder
public BuildOccurrence.Builder setProvenance(BuildProvenance value)
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
public BuildOccurrence.Builder setProvenance(BuildProvenance.Builder builderForValue)
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
public BuildOccurrence.Builder mergeProvenance(BuildProvenance value)
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
public BuildOccurrence.Builder clearProvenance()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
public BuildProvenance.Builder getProvenanceBuilder()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
public BuildProvenanceOrBuilder getProvenanceOrBuilder()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;
getProvenanceOrBuilder
in interface BuildOccurrenceOrBuilder
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;
getProvenanceBytes
in interface BuildOccurrenceOrBuilder
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;
getProvenanceBytesBytes
in interface BuildOccurrenceOrBuilder
public BuildOccurrence.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;
public BuildOccurrence.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;
public BuildOccurrence.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;
public final BuildOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
public final BuildOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>
Copyright © 2019 Google LLC. All rights reserved.