Send feedback
Class Basis.Builder (2.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.44.0 keyboard_arrow_down
public static final class Basis . Builder extends GeneratedMessageV3 . Builder<Basis . Builder > implements BasisOrBuilder
Basis describes the base image portion (Note) of the DockerImage
relationship. Linked occurrences are derived from this or an
equivalent image via:
FROM <Basis.resource_url>
Or an equivalent reference, e.g. a tag of the resource_url.
Protobuf type grafeas.v1beta1.image.Basis
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 Basis . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
Returns
Type
Description
Basis
buildPartial()
public Basis buildPartial ()
Returns
Type
Description
Basis
clear()
public Basis . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Basis . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearFingerprint()
public Basis . Builder clearFingerprint ()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Basis . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearResourceUrl()
public Basis . Builder clearResourceUrl ()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Returns
Type
Description
Basis.Builder
This builder for chaining.
clone()
public Basis . Builder clone ()
Overrides
getDefaultInstanceForType()
public Basis getDefaultInstanceForType ()
Returns
Type
Description
Basis
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getFingerprint()
public Fingerprint getFingerprint ()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
getFingerprintBuilder()
public Fingerprint . Builder getFingerprintBuilder ()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
getFingerprintOrBuilder()
public FingerprintOrBuilder getFingerprintOrBuilder ()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
getResourceUrl()
public String getResourceUrl ()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Returns
Type
Description
String
The resourceUrl.
getResourceUrlBytes()
public ByteString getResourceUrlBytes ()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Returns
Type
Description
ByteString
The bytes for resourceUrl.
hasFingerprint()
public boolean hasFingerprint ()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
Returns
Type
Description
boolean
Whether the fingerprint field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFingerprint(Fingerprint value)
public Basis . Builder mergeFingerprint ( Fingerprint value )
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
public Basis . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Basis . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(Basis other)
public Basis . Builder mergeFrom ( Basis other )
Parameter
Name
Description
other
Basis
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Basis . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Basis . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setFingerprint(Fingerprint value)
public Basis . Builder setFingerprint ( Fingerprint value )
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
setFingerprint(Fingerprint.Builder builderForValue)
public Basis . Builder setFingerprint ( Fingerprint . Builder builderForValue )
Required. Immutable. The fingerprint of the base image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Basis . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setResourceUrl(String value)
public Basis . Builder setResourceUrl ( String value )
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Parameter
Name
Description
value
String
The resourceUrl to set.
Returns
Type
Description
Basis.Builder
This builder for chaining.
setResourceUrlBytes(ByteString value)
public Basis . Builder setResourceUrlBytes ( ByteString value )
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Parameter
Name
Description
value
ByteString
The bytes for resourceUrl to set.
Returns
Type
Description
Basis.Builder
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
public final Basis . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]