Class ImportYumArtifactsRequest (1.41.0)

public final class ImportYumArtifactsRequest extends GeneratedMessageV3 implements ImportYumArtifactsRequestOrBuilder

The request to import new yum artifacts.

Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsRequest

Static Fields

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportYumArtifactsRequest getDefaultInstance()
Returns
Type Description
ImportYumArtifactsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportYumArtifactsRequest.Builder newBuilder()
Returns
Type Description
ImportYumArtifactsRequest.Builder

newBuilder(ImportYumArtifactsRequest prototype)

public static ImportYumArtifactsRequest.Builder newBuilder(ImportYumArtifactsRequest prototype)
Parameter
Name Description
prototype ImportYumArtifactsRequest
Returns
Type Description
ImportYumArtifactsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportYumArtifactsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportYumArtifactsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportYumArtifactsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportYumArtifactsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportYumArtifactsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportYumArtifactsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportYumArtifactsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportYumArtifactsRequest> parser()
Returns
Type Description
Parser<ImportYumArtifactsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportYumArtifactsRequest getDefaultInstanceForType()
Returns
Type Description
ImportYumArtifactsRequest

getGcsSource()

public ImportYumArtifactsGcsSource getGcsSource()

Google Cloud Storage location where input content is located.

.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2;

Returns
Type Description
ImportYumArtifactsGcsSource

The gcsSource.

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location where input content is located.

.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2;

Returns
Type Description
ImportYumArtifactsGcsSourceOrBuilder

getParent()

public String getParent()

The name of the parent resource where the artifacts will be imported.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The name of the parent resource where the artifacts will be imported.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<ImportYumArtifactsRequest> getParserForType()
Returns
Type Description
Parser<ImportYumArtifactsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public ImportYumArtifactsRequest.SourceCase getSourceCase()
Returns
Type Description
ImportYumArtifactsRequest.SourceCase

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location where input content is located.

.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportYumArtifactsRequest.Builder newBuilderForType()
Returns
Type Description
ImportYumArtifactsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportYumArtifactsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportYumArtifactsRequest.Builder toBuilder()
Returns
Type Description
ImportYumArtifactsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException