Class ImportAptArtifactsRequest (1.2.1)

public final class ImportAptArtifactsRequest extends GeneratedMessageV3 implements ImportAptArtifactsRequestOrBuilder

The request to import new apt artifacts.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest

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 ImportAptArtifactsRequest getDefaultInstance()
Returns
TypeDescription
ImportAptArtifactsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ImportAptArtifactsRequest prototype)

public static ImportAptArtifactsRequest.Builder newBuilder(ImportAptArtifactsRequest prototype)
Parameter
NameDescription
prototypeImportAptArtifactsRequest
Returns
TypeDescription
ImportAptArtifactsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportAptArtifactsRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportAptArtifactsRequest

getGcsSource()

public ImportAptArtifactsGcsSource getGcsSource()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
ImportAptArtifactsGcsSource

The gcsSource.

getGcsSourceOrBuilder()

public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
ImportAptArtifactsGcsSourceOrBuilder

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<ImportAptArtifactsRequest> getParserForType()
Returns
TypeDescription
Parser<ImportAptArtifactsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location where input content is located.

.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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 ImportAptArtifactsRequest.Builder newBuilderForType()
Returns
TypeDescription
ImportAptArtifactsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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