Class ImportYumArtifactsRequest.Builder (1.41.0)

public static final class ImportYumArtifactsRequest.Builder extends GeneratedMessageV3.Builder<ImportYumArtifactsRequest.Builder> implements ImportYumArtifactsRequestOrBuilder

The request to import new yum artifacts.

Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

build()

public ImportYumArtifactsRequest build()
Returns
Type Description
ImportYumArtifactsRequest

buildPartial()

public ImportYumArtifactsRequest buildPartial()
Returns
Type Description
ImportYumArtifactsRequest

clear()

public ImportYumArtifactsRequest.Builder clear()
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportYumArtifactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

clearGcsSource()

public ImportYumArtifactsRequest.Builder clearGcsSource()

Google Cloud Storage location where input content is located.

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

Returns
Type Description
ImportYumArtifactsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportYumArtifactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

clearParent()

public ImportYumArtifactsRequest.Builder clearParent()

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

string parent = 1;

Returns
Type Description
ImportYumArtifactsRequest.Builder

This builder for chaining.

clearSource()

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

clone()

public ImportYumArtifactsRequest.Builder clone()
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportYumArtifactsRequest getDefaultInstanceForType()
Returns
Type Description
ImportYumArtifactsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGcsSourceBuilder()

public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location where input content is located.

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

Returns
Type Description
ImportYumArtifactsGcsSource.Builder

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportYumArtifactsRequest other)

public ImportYumArtifactsRequest.Builder mergeFrom(ImportYumArtifactsRequest other)
Parameter
Name Description
other ImportYumArtifactsRequest
Returns
Type Description
ImportYumArtifactsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportYumArtifactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportYumArtifactsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

mergeGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsRequest.Builder mergeGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location where input content is located.

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

Parameter
Name Description
value ImportYumArtifactsGcsSource
Returns
Type Description
ImportYumArtifactsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

setGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsRequest.Builder setGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location where input content is located.

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

Parameter
Name Description
value ImportYumArtifactsGcsSource
Returns
Type Description
ImportYumArtifactsRequest.Builder

setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

public ImportYumArtifactsRequest.Builder setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

Google Cloud Storage location where input content is located.

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

Parameter
Name Description
builderForValue ImportYumArtifactsGcsSource.Builder
Returns
Type Description
ImportYumArtifactsRequest.Builder

setParent(String value)

public ImportYumArtifactsRequest.Builder setParent(String value)

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

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ImportYumArtifactsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ImportYumArtifactsRequest.Builder setParentBytes(ByteString value)

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

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ImportYumArtifactsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportYumArtifactsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportYumArtifactsRequest.Builder
Overrides