public static final class Distribution.Builder extends GeneratedMessageV3.Builder<Distribution.Builder> implements DistributionOrBuilder
This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.Protobuf type
grafeas.v1.Distribution| Modifier and Type | Method and Description |
|---|---|
Distribution.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Distribution |
build() |
Distribution |
buildPartial() |
Distribution.Builder |
clear() |
Distribution.Builder |
clearArchitecture()
The CPU architecture for which packages in this distribution channel were
built.
|
Distribution.Builder |
clearCpeUri()
Required.
|
Distribution.Builder |
clearDescription()
The distribution channel-specific description of this package.
|
Distribution.Builder |
clearField(Descriptors.FieldDescriptor field) |
Distribution.Builder |
clearLatestVersion()
The latest available version of this package in this distribution channel.
|
Distribution.Builder |
clearMaintainer()
A freeform string denoting the maintainer of this package.
|
Distribution.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Distribution.Builder |
clearUrl()
The distribution channel-specific homepage for this package.
|
Distribution.Builder |
clone() |
Architecture |
getArchitecture()
The CPU architecture for which packages in this distribution channel were
built.
|
int |
getArchitectureValue()
The CPU architecture for which packages in this distribution channel were
built.
|
String |
getCpeUri()
Required.
|
ByteString |
getCpeUriBytes()
Required.
|
Distribution |
getDefaultInstanceForType() |
String |
getDescription()
The distribution channel-specific description of this package.
|
ByteString |
getDescriptionBytes()
The distribution channel-specific description of this package.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Version |
getLatestVersion()
The latest available version of this package in this distribution channel.
|
Version.Builder |
getLatestVersionBuilder()
The latest available version of this package in this distribution channel.
|
VersionOrBuilder |
getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
|
String |
getMaintainer()
A freeform string denoting the maintainer of this package.
|
ByteString |
getMaintainerBytes()
A freeform string denoting the maintainer of this package.
|
String |
getUrl()
The distribution channel-specific homepage for this package.
|
ByteString |
getUrlBytes()
The distribution channel-specific homepage for this package.
|
boolean |
hasLatestVersion()
The latest available version of this package in this distribution channel.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Distribution.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Distribution.Builder |
mergeFrom(Distribution other) |
Distribution.Builder |
mergeFrom(Message other) |
Distribution.Builder |
mergeLatestVersion(Version value)
The latest available version of this package in this distribution channel.
|
Distribution.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Distribution.Builder |
setArchitecture(Architecture value)
The CPU architecture for which packages in this distribution channel were
built.
|
Distribution.Builder |
setArchitectureValue(int value)
The CPU architecture for which packages in this distribution channel were
built.
|
Distribution.Builder |
setCpeUri(String value)
Required.
|
Distribution.Builder |
setCpeUriBytes(ByteString value)
Required.
|
Distribution.Builder |
setDescription(String value)
The distribution channel-specific description of this package.
|
Distribution.Builder |
setDescriptionBytes(ByteString value)
The distribution channel-specific description of this package.
|
Distribution.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Distribution.Builder |
setLatestVersion(Version.Builder builderForValue)
The latest available version of this package in this distribution channel.
|
Distribution.Builder |
setLatestVersion(Version value)
The latest available version of this package in this distribution channel.
|
Distribution.Builder |
setMaintainer(String value)
A freeform string denoting the maintainer of this package.
|
Distribution.Builder |
setMaintainerBytes(ByteString value)
A freeform string denoting the maintainer of this package.
|
Distribution.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Distribution.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Distribution.Builder |
setUrl(String value)
The distribution channel-specific homepage for this package.
|
Distribution.Builder |
setUrlBytes(ByteString value)
The distribution channel-specific homepage for this package.
|
getAllFields, 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<Distribution.Builder>public Distribution.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Distribution.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Distribution build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Distribution buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Distribution.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Distribution.Builder>public Distribution.Builder mergeFrom(Distribution other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Distribution.Builder>public Distribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Distribution.Builder>IOExceptionpublic String getCpeUri()
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUri in interface DistributionOrBuilderpublic ByteString getCpeUriBytes()
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUriBytes in interface DistributionOrBuilderpublic Distribution.Builder setCpeUri(String value)
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public Distribution.Builder clearCpeUri()
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public Distribution.Builder setCpeUriBytes(ByteString value)
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;public int getArchitectureValue()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;getArchitectureValue in interface DistributionOrBuilderpublic Distribution.Builder setArchitectureValue(int value)
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;public Architecture getArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;getArchitecture in interface DistributionOrBuilderpublic Distribution.Builder setArchitecture(Architecture value)
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;public Distribution.Builder clearArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;public boolean hasLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;hasLatestVersion in interface DistributionOrBuilderpublic Version getLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;getLatestVersion in interface DistributionOrBuilderpublic Distribution.Builder setLatestVersion(Version value)
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;public Distribution.Builder setLatestVersion(Version.Builder builderForValue)
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;public Distribution.Builder mergeLatestVersion(Version value)
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;public Distribution.Builder clearLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;public Version.Builder getLatestVersionBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;public VersionOrBuilder getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;getLatestVersionOrBuilder in interface DistributionOrBuilderpublic String getMaintainer()
A freeform string denoting the maintainer of this package.
string maintainer = 4;getMaintainer in interface DistributionOrBuilderpublic ByteString getMaintainerBytes()
A freeform string denoting the maintainer of this package.
string maintainer = 4;getMaintainerBytes in interface DistributionOrBuilderpublic Distribution.Builder setMaintainer(String value)
A freeform string denoting the maintainer of this package.
string maintainer = 4;public Distribution.Builder clearMaintainer()
A freeform string denoting the maintainer of this package.
string maintainer = 4;public Distribution.Builder setMaintainerBytes(ByteString value)
A freeform string denoting the maintainer of this package.
string maintainer = 4;public String getUrl()
The distribution channel-specific homepage for this package.
string url = 5;getUrl in interface DistributionOrBuilderpublic ByteString getUrlBytes()
The distribution channel-specific homepage for this package.
string url = 5;getUrlBytes in interface DistributionOrBuilderpublic Distribution.Builder setUrl(String value)
The distribution channel-specific homepage for this package.
string url = 5;public Distribution.Builder clearUrl()
The distribution channel-specific homepage for this package.
string url = 5;public Distribution.Builder setUrlBytes(ByteString value)
The distribution channel-specific homepage for this package.
string url = 5;public String getDescription()
The distribution channel-specific description of this package.
string description = 6;getDescription in interface DistributionOrBuilderpublic ByteString getDescriptionBytes()
The distribution channel-specific description of this package.
string description = 6;getDescriptionBytes in interface DistributionOrBuilderpublic Distribution.Builder setDescription(String value)
The distribution channel-specific description of this package.
string description = 6;public Distribution.Builder clearDescription()
The distribution channel-specific description of this package.
string description = 6;public Distribution.Builder setDescriptionBytes(ByteString value)
The distribution channel-specific description of this package.
string description = 6;public final Distribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Distribution.Builder>public final Distribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Distribution.Builder>Copyright © 2019 Google LLC. All rights reserved.