public static final class Build.Builder extends GeneratedMessageV3.Builder<Build.Builder> implements BuildOrBuilder
Note holding the version of the provider's builder and the signature of the
provenance message in the build details occurrence.
Protobuf type grafeas.v1beta1.build.Build
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Build.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Build buildPartial()
Returns
clear()
public Build.Builder clear()
Returns
Overrides
clearBuilderVersion()
public Build.Builder clearBuilderVersion()
Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Build.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Build.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSignature()
public Build.Builder clearSignature()
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Returns
clone()
public Build.Builder clone()
Returns
Overrides
getBuilderVersion()
public String getBuilderVersion()
Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
Returns
Type | Description |
String | The builderVersion.
|
getBuilderVersionBytes()
public ByteString getBuilderVersionBytes()
Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
Returns
Type | Description |
ByteString | The bytes for builderVersion.
|
getDefaultInstanceForType()
public Build getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSignature()
public BuildSignature getSignature()
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Returns
getSignatureBuilder()
public BuildSignature.Builder getSignatureBuilder()
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Returns
getSignatureOrBuilder()
public BuildSignatureOrBuilder getSignatureOrBuilder()
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Returns
hasSignature()
public boolean hasSignature()
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Returns
Type | Description |
boolean | Whether the signature field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Build.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Build.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Build other)
public Build.Builder mergeFrom(Build other)
Parameter
Name | Description |
other | Build
|
Returns
mergeSignature(BuildSignature value)
public Build.Builder mergeSignature(BuildSignature value)
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Build.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBuilderVersion(String value)
public Build.Builder setBuilderVersion(String value)
Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
Parameter
Name | Description |
value | String
The builderVersion to set.
|
Returns
setBuilderVersionBytes(ByteString value)
public Build.Builder setBuilderVersionBytes(ByteString value)
Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
Parameter
Name | Description |
value | ByteString
The bytes for builderVersion to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Build.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Build.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSignature(BuildSignature value)
public Build.Builder setSignature(BuildSignature value)
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Parameter
Returns
setSignature(BuildSignature.Builder builderForValue)
public Build.Builder setSignature(BuildSignature.Builder builderForValue)
Signature of the build in occurrences pointing to this build note
containing build details.
.grafeas.v1beta1.build.BuildSignature signature = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Build.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides