Class YumArtifact (1.20.0)

public final class YumArtifact extends GeneratedMessageV3 implements YumArtifactOrBuilder

A detailed representation of a Yum artifact.

Protobuf type google.devtools.artifactregistry.v1beta2.YumArtifact

Static Fields

ARCHITECTURE_FIELD_NUMBER

public static final int ARCHITECTURE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGE_NAME_FIELD_NUMBER

public static final int PACKAGE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGE_TYPE_FIELD_NUMBER

public static final int PACKAGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static YumArtifact getDefaultInstance()
Returns
TypeDescription
YumArtifact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static YumArtifact.Builder newBuilder()
Returns
TypeDescription
YumArtifact.Builder

newBuilder(YumArtifact prototype)

public static YumArtifact.Builder newBuilder(YumArtifact prototype)
Parameter
NameDescription
prototypeYumArtifact
Returns
TypeDescription
YumArtifact.Builder

parseDelimitedFrom(InputStream input)

public static YumArtifact parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static YumArtifact parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static YumArtifact parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static YumArtifact parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static YumArtifact parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static YumArtifact parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static YumArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YumArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<YumArtifact> parser()
Returns
TypeDescription
Parser<YumArtifact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArchitecture()

public String getArchitecture()

Output only. Operating system architecture of the artifact.

string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for architecture.

getDefaultInstanceForType()

public YumArtifact getDefaultInstanceForType()
Returns
TypeDescription
YumArtifact

getName()

public String getName()

Output only. The Artifact Registry resource name of the artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for packageType.

getParserForType()

public Parser<YumArtifact> getParserForType()
Returns
TypeDescription
Parser<YumArtifact>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public YumArtifact.Builder newBuilderForType()
Returns
TypeDescription
YumArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected YumArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
YumArtifact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public YumArtifact.Builder toBuilder()
Returns
TypeDescription
YumArtifact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException