public static final class ImageNote.Builder extends GeneratedMessageV3.Builder<ImageNote.Builder> implements ImageNoteOrBuilder
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.v1.ImageNote
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public ImageNote buildPartial()
clear()
public ImageNote.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImageNote.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFingerprint()
public ImageNote.Builder clearFingerprint()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourceUrl()
public ImageNote.Builder clearResourceUrl()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
clone()
public ImageNote.Builder clone()
Overrides
getDefaultInstanceForType()
public ImageNote getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFingerprint()
public Fingerprint getFingerprint()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
getFingerprintBuilder()
public Fingerprint.Builder getFingerprintBuilder()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
getFingerprintOrBuilder()
public FingerprintOrBuilder getFingerprintOrBuilder()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.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.v1.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 ImageNote.Builder mergeFingerprint(Fingerprint value)
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
public ImageNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImageNote.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ImageNote other)
public ImageNote.Builder mergeFrom(ImageNote other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImageNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFingerprint(Fingerprint value)
public ImageNote.Builder setFingerprint(Fingerprint value)
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
setFingerprint(Fingerprint.Builder builderForValue)
public ImageNote.Builder setFingerprint(Fingerprint.Builder builderForValue)
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResourceUrl(String value)
public ImageNote.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.
|
setResourceUrlBytes(ByteString value)
public ImageNote.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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides