Class ImportYumArtifactsRequest.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

build()

public ImportYumArtifactsRequest build()
Returns
TypeDescription
ImportYumArtifactsRequest

buildPartial()

public ImportYumArtifactsRequest buildPartial()
Returns
TypeDescription
ImportYumArtifactsRequest

clear()

public ImportYumArtifactsRequest.Builder clear()
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportYumArtifactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportYumArtifactsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportYumArtifactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

clearParent()

public ImportYumArtifactsRequest.Builder clearParent()

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

string parent = 1;

Returns
TypeDescription
ImportYumArtifactsRequest.Builder

This builder for chaining.

clearSource()

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

clone()

public ImportYumArtifactsRequest.Builder clone()
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportYumArtifactsRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportYumArtifactsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public ImportYumArtifactsGcsSource getGcsSource()

Google Cloud Storage location where input content is located.

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

Returns
TypeDescription
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
TypeDescription
ImportYumArtifactsGcsSource.Builder

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location where input content is located.

.google.devtools.artifactregistry.v1.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.

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.v1.ImportYumArtifactsGcsSource gcs_source = 2;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportYumArtifactsRequest other)

public ImportYumArtifactsRequest.Builder mergeFrom(ImportYumArtifactsRequest other)
Parameter
NameDescription
otherImportYumArtifactsRequest
Returns
TypeDescription
ImportYumArtifactsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportYumArtifactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportYumArtifactsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImportYumArtifactsGcsSource
Returns
TypeDescription
ImportYumArtifactsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImportYumArtifactsGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueImportYumArtifactsGcsSource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportYumArtifactsRequest.Builder
Overrides