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