public static final class BuildOccurrence.Builder extends GeneratedMessageV3.Builder<BuildOccurrence.Builder> implements BuildOccurrenceOrBuilder
Details of a build occurrence.Protobuf type
grafeas.v1.BuildOccurrencegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic BuildOccurrence build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic BuildOccurrence buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic BuildOccurrence.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder mergeFrom(BuildOccurrence other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public BuildOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<BuildOccurrence.Builder>IOExceptionpublic boolean hasProvenance()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;hasProvenance in interface BuildOccurrenceOrBuilderpublic BuildProvenance getProvenance()
Required. The actual provenance for the build.
.grafeas.v1.BuildProvenance provenance = 1;getProvenance in interface BuildOccurrenceOrBuilderpublic 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 BuildOccurrenceOrBuilderpublic 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 BuildOccurrenceOrBuilderpublic 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 BuildOccurrenceOrBuilderpublic 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.BuildersetUnknownFields in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>public final BuildOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<BuildOccurrence.Builder>Copyright © 2019 Google LLC. All rights reserved.