Class ImportYumArtifactsRequest (1.21.0)

public final class ImportYumArtifactsRequest extends GeneratedMessageV3 implements ImportYumArtifactsRequestOrBuilder

The request to import new yum artifacts.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest

Static Fields

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportYumArtifactsRequest getDefaultInstance()
Returns
TypeDescription
ImportYumArtifactsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ImportYumArtifactsRequest prototype)

public static ImportYumArtifactsRequest.Builder newBuilder(ImportYumArtifactsRequest prototype)
Parameter
NameDescription
prototypeImportYumArtifactsRequest
Returns
TypeDescription
ImportYumArtifactsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportYumArtifactsRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportYumArtifactsRequest

getGcsSource()

public ImportYumArtifactsGcsSource getGcsSource()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
ImportYumArtifactsGcsSource

The gcsSource.

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
ImportYumArtifactsGcsSourceOrBuilder

getParent()

public String getParent()

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

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public ImportYumArtifactsRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportYumArtifactsRequest.SourceCase

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

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 ImportYumArtifactsRequest.Builder newBuilderForType()
Returns
TypeDescription
ImportYumArtifactsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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