- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class AptArtifact.Builder extends GeneratedMessageV3.Builder<AptArtifact.Builder> implements AptArtifactOrBuilder
A detailed representation of an Apt artifact. Information in the record is derived from the archive's control file. See https://www.debian.org/doc/debian-policy/ch-controlfields.html
Protobuf type google.devtools.artifactregistry.v1beta2.AptArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AptArtifact.BuilderImplements
AptArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AptArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AptArtifact.Builder |
build()
public AptArtifact build()
Type | Description |
AptArtifact |
buildPartial()
public AptArtifact buildPartial()
Type | Description |
AptArtifact |
clear()
public AptArtifact.Builder clear()
Type | Description |
AptArtifact.Builder |
clearArchitecture()
public AptArtifact.Builder clearArchitecture()
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clearComponent()
public AptArtifact.Builder clearComponent()
Output only. Repository component of the artifact.
string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clearControlFile()
public AptArtifact.Builder clearControlFile()
Output only. Contents of the artifact's control metadata file.
bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AptArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AptArtifact.Builder |
clearName()
public AptArtifact.Builder clearName()
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AptArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AptArtifact.Builder |
clearPackageName()
public AptArtifact.Builder clearPackageName()
Output only. The Apt package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clearPackageType()
public AptArtifact.Builder clearPackageType()
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.Builder | This builder for chaining. |
clone()
public AptArtifact.Builder clone()
Type | Description |
AptArtifact.Builder |
getArchitecture()
public String getArchitecture()
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The architecture. |
getArchitectureBytes()
public ByteString getArchitectureBytes()
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for architecture. |
getComponent()
public String getComponent()
Output only. Repository component of the artifact.
string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The component. |
getComponentBytes()
public ByteString getComponentBytes()
Output only. Repository component of the artifact.
string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for component. |
getControlFile()
public ByteString getControlFile()
Output only. Contents of the artifact's control metadata file.
bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The controlFile. |
getDefaultInstanceForType()
public AptArtifact getDefaultInstanceForType()
Type | Description |
AptArtifact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPackageName()
public String getPackageName()
Output only. The Apt package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The packageName. |
getPackageNameBytes()
public ByteString getPackageNameBytes()
Output only. The Apt package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for packageName. |
getPackageType()
public AptArtifact.PackageType getPackageType()
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AptArtifact.PackageType | The packageType. |
getPackageTypeValue()
public int getPackageTypeValue()
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for packageType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AptArtifact other)
public AptArtifact.Builder mergeFrom(AptArtifact other)
Name | Description |
other | AptArtifact |
Type | Description |
AptArtifact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AptArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AptArtifact.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AptArtifact.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AptArtifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AptArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AptArtifact.Builder |
setArchitecture(String value)
public AptArtifact.Builder setArchitecture(String value)
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The architecture to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setArchitectureBytes(ByteString value)
public AptArtifact.Builder setArchitectureBytes(ByteString value)
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for architecture to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setComponent(String value)
public AptArtifact.Builder setComponent(String value)
Output only. Repository component of the artifact.
string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The component to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setComponentBytes(ByteString value)
public AptArtifact.Builder setComponentBytes(ByteString value)
Output only. Repository component of the artifact.
string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for component to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setControlFile(ByteString value)
public AptArtifact.Builder setControlFile(ByteString value)
Output only. Contents of the artifact's control metadata file.
bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The controlFile to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AptArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AptArtifact.Builder |
setName(String value)
public AptArtifact.Builder setName(String value)
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AptArtifact.Builder setNameBytes(ByteString value)
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setPackageName(String value)
public AptArtifact.Builder setPackageName(String value)
Output only. The Apt package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The packageName to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setPackageNameBytes(ByteString value)
public AptArtifact.Builder setPackageNameBytes(ByteString value)
Output only. The Apt package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for packageName to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setPackageType(AptArtifact.PackageType value)
public AptArtifact.Builder setPackageType(AptArtifact.PackageType value)
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | AptArtifact.PackageType The packageType to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setPackageTypeValue(int value)
public AptArtifact.Builder setPackageTypeValue(int value)
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for packageType to set. |
Type | Description |
AptArtifact.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AptArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AptArtifact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AptArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AptArtifact.Builder |