public static final class Build.Builder extends GeneratedMessage.Builder<Build.Builder> implements BuildOrBuilderNote 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Build.BuilderImplements
BuildOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Build build()| Returns | |
|---|---|
| Type | Description |
Build |
|
buildPartial()
public Build buildPartial()| Returns | |
|---|---|
| Type | Description |
Build |
|
clear()
public Build.Builder clear()| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
clearBuilderVersion()
public Build.Builder clearBuilderVersion()Required. Immutable. Version of the builder which produced this build.
string builder_version = 1;
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
Build.Builder |
|
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 | |
|---|---|
| Type | Description |
Build |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
BuildSignature |
The signature. |
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 | |
|---|---|
| Type | Description |
BuildSignature.Builder |
|
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 | |
|---|---|
| Type | Description |
BuildSignatureOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Build.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Build.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
mergeFrom(Build other)
public Build.Builder mergeFrom(Build other)| Parameter | |
|---|---|
| Name | Description |
other |
Build |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
BuildSignature |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
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 |
StringThe builderVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for builderVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
BuildSignature |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
BuildSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
Build.Builder |
|