Class ImportYumArtifactsResponse.Builder (1.43.0)

public static final class ImportYumArtifactsResponse.Builder extends GeneratedMessageV3.Builder<ImportYumArtifactsResponse.Builder> implements ImportYumArtifactsResponseOrBuilder

The response message from importing YUM artifacts.

Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends ImportYumArtifactsErrorInfo> values)

public ImportYumArtifactsResponse.Builder addAllErrors(Iterable<? extends ImportYumArtifactsErrorInfo> values)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>
Returns
Type Description
ImportYumArtifactsResponse.Builder

addAllYumArtifacts(Iterable<? extends YumArtifact> values)

public ImportYumArtifactsResponse.Builder addAllYumArtifacts(Iterable<? extends YumArtifact> values)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1.YumArtifact>
Returns
Type Description
ImportYumArtifactsResponse.Builder

addErrors(ImportYumArtifactsErrorInfo value)

public ImportYumArtifactsResponse.Builder addErrors(ImportYumArtifactsErrorInfo value)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
value ImportYumArtifactsErrorInfo
Returns
Type Description
ImportYumArtifactsResponse.Builder

addErrors(ImportYumArtifactsErrorInfo.Builder builderForValue)

public ImportYumArtifactsResponse.Builder addErrors(ImportYumArtifactsErrorInfo.Builder builderForValue)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
builderForValue ImportYumArtifactsErrorInfo.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder

addErrors(int index, ImportYumArtifactsErrorInfo value)

public ImportYumArtifactsResponse.Builder addErrors(int index, ImportYumArtifactsErrorInfo value)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
value ImportYumArtifactsErrorInfo
Returns
Type Description
ImportYumArtifactsResponse.Builder

addErrors(int index, ImportYumArtifactsErrorInfo.Builder builderForValue)

public ImportYumArtifactsResponse.Builder addErrors(int index, ImportYumArtifactsErrorInfo.Builder builderForValue)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
builderForValue ImportYumArtifactsErrorInfo.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder

addErrorsBuilder()

public ImportYumArtifactsErrorInfo.Builder addErrorsBuilder()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

addErrorsBuilder(int index)

public ImportYumArtifactsErrorInfo.Builder addErrorsBuilder(int index)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addYumArtifacts(YumArtifact value)

public ImportYumArtifactsResponse.Builder addYumArtifacts(YumArtifact value)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
value YumArtifact
Returns
Type Description
ImportYumArtifactsResponse.Builder

addYumArtifacts(YumArtifact.Builder builderForValue)

public ImportYumArtifactsResponse.Builder addYumArtifacts(YumArtifact.Builder builderForValue)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
builderForValue YumArtifact.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder

addYumArtifacts(int index, YumArtifact value)

public ImportYumArtifactsResponse.Builder addYumArtifacts(int index, YumArtifact value)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameters
Name Description
index int
value YumArtifact
Returns
Type Description
ImportYumArtifactsResponse.Builder

addYumArtifacts(int index, YumArtifact.Builder builderForValue)

public ImportYumArtifactsResponse.Builder addYumArtifacts(int index, YumArtifact.Builder builderForValue)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameters
Name Description
index int
builderForValue YumArtifact.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder

addYumArtifactsBuilder()

public YumArtifact.Builder addYumArtifactsBuilder()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
YumArtifact.Builder

addYumArtifactsBuilder(int index)

public YumArtifact.Builder addYumArtifactsBuilder(int index)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
YumArtifact.Builder

build()

public ImportYumArtifactsResponse build()
Returns
Type Description
ImportYumArtifactsResponse

buildPartial()

public ImportYumArtifactsResponse buildPartial()
Returns
Type Description
ImportYumArtifactsResponse

clear()

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

clearErrors()

public ImportYumArtifactsResponse.Builder clearErrors()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
ImportYumArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearYumArtifacts()

public ImportYumArtifactsResponse.Builder clearYumArtifacts()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
ImportYumArtifactsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ImportYumArtifactsResponse getDefaultInstanceForType()
Returns
Type Description
ImportYumArtifactsResponse

getDescriptorForType()

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

getErrors(int index)

public ImportYumArtifactsErrorInfo getErrors(int index)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsErrorInfo

getErrorsBuilder(int index)

public ImportYumArtifactsErrorInfo.Builder getErrorsBuilder(int index)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

getErrorsBuilderList()

public List<ImportYumArtifactsErrorInfo.Builder> getErrorsBuilderList()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
int

getErrorsList()

public List<ImportYumArtifactsErrorInfo> getErrorsList()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
List<ImportYumArtifactsErrorInfo>

getErrorsOrBuilder(int index)

public ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsErrorInfoOrBuilder

getErrorsOrBuilderList()

public List<? extends ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList()

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>

getYumArtifacts(int index)

public YumArtifact getYumArtifacts(int index)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
YumArtifact

getYumArtifactsBuilder(int index)

public YumArtifact.Builder getYumArtifactsBuilder(int index)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
YumArtifact.Builder

getYumArtifactsBuilderList()

public List<YumArtifact.Builder> getYumArtifactsBuilderList()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
List<Builder>

getYumArtifactsCount()

public int getYumArtifactsCount()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
int

getYumArtifactsList()

public List<YumArtifact> getYumArtifactsList()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
List<YumArtifact>

getYumArtifactsOrBuilder(int index)

public YumArtifactOrBuilder getYumArtifactsOrBuilder(int index)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
YumArtifactOrBuilder

getYumArtifactsOrBuilderList()

public List<? extends YumArtifactOrBuilder> getYumArtifactsOrBuilderList()

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportYumArtifactsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public ImportYumArtifactsResponse.Builder removeErrors(int index)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsResponse.Builder

removeYumArtifacts(int index)

public ImportYumArtifactsResponse.Builder removeYumArtifacts(int index)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportYumArtifactsResponse.Builder

setErrors(int index, ImportYumArtifactsErrorInfo value)

public ImportYumArtifactsResponse.Builder setErrors(int index, ImportYumArtifactsErrorInfo value)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
value ImportYumArtifactsErrorInfo
Returns
Type Description
ImportYumArtifactsResponse.Builder

setErrors(int index, ImportYumArtifactsErrorInfo.Builder builderForValue)

public ImportYumArtifactsResponse.Builder setErrors(int index, ImportYumArtifactsErrorInfo.Builder builderForValue)

Detailed error info for packages that were not imported.

repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
builderForValue ImportYumArtifactsErrorInfo.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setYumArtifacts(int index, YumArtifact value)

public ImportYumArtifactsResponse.Builder setYumArtifacts(int index, YumArtifact value)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameters
Name Description
index int
value YumArtifact
Returns
Type Description
ImportYumArtifactsResponse.Builder

setYumArtifacts(int index, YumArtifact.Builder builderForValue)

public ImportYumArtifactsResponse.Builder setYumArtifacts(int index, YumArtifact.Builder builderForValue)

The yum artifacts imported.

repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;

Parameters
Name Description
index int
builderForValue YumArtifact.Builder
Returns
Type Description
ImportYumArtifactsResponse.Builder