public static final class YumArtifact.Builder extends GeneratedMessage.Builder<YumArtifact.Builder> implements YumArtifactOrBuilderA detailed representation of a Yum artifact.
Protobuf type google.devtools.artifactregistry.v1beta2.YumArtifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > YumArtifact.BuilderImplements
YumArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public YumArtifact build()| Returns | |
|---|---|
| Type | Description |
YumArtifact |
|
buildPartial()
public YumArtifact buildPartial()| Returns | |
|---|---|
| Type | Description |
YumArtifact |
|
clear()
public YumArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
|
clearArchitecture()
public YumArtifact.Builder clearArchitecture()Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
clearName()
public YumArtifact.Builder clearName()Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
clearPackageName()
public YumArtifact.Builder clearPackageName()Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
clearPackageType()
public YumArtifact.Builder clearPackageType()Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
getArchitecture()
public String getArchitecture()Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for architecture. |
getDefaultInstanceForType()
public YumArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
YumArtifact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPackageName()
public String getPackageName()Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The packageName. |
getPackageNameBytes()
public ByteString getPackageNameBytes()Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for packageName. |
getPackageType()
public YumArtifact.PackageType getPackageType()Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
YumArtifact.PackageType |
The packageType. |
getPackageTypeValue()
public int getPackageTypeValue()Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for packageType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(YumArtifact other)
public YumArtifact.Builder mergeFrom(YumArtifact other)| Parameter | |
|---|---|
| Name | Description |
other |
YumArtifact |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public YumArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public YumArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
|
setArchitecture(String value)
public YumArtifact.Builder setArchitecture(String value)Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe architecture to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setArchitectureBytes(ByteString value)
public YumArtifact.Builder setArchitectureBytes(ByteString value)Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for architecture to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setName(String value)
public YumArtifact.Builder setName(String value)Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public YumArtifact.Builder setNameBytes(ByteString value)Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setPackageName(String value)
public YumArtifact.Builder setPackageName(String value)Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe packageName to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setPackageNameBytes(ByteString value)
public YumArtifact.Builder setPackageNameBytes(ByteString value)Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for packageName to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setPackageType(YumArtifact.PackageType value)
public YumArtifact.Builder setPackageType(YumArtifact.PackageType value)Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
YumArtifact.PackageTypeThe packageType to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |
setPackageTypeValue(int value)
public YumArtifact.Builder setPackageTypeValue(int value)Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for packageType to set. |
| Returns | |
|---|---|
| Type | Description |
YumArtifact.Builder |
This builder for chaining. |