Class ImportYumArtifactsResponse.Builder (1.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.YumArtifact>
Returns
TypeDescription
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
NameDescription
valueImportYumArtifactsErrorInfo
Returns
TypeDescription
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
NameDescription
builderForValueImportYumArtifactsErrorInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportYumArtifactsErrorInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportYumArtifactsErrorInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueYumArtifact
Returns
TypeDescription
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
NameDescription
builderForValueYumArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueYumArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueYumArtifact.Builder
Returns
TypeDescription
ImportYumArtifactsResponse.Builder

addYumArtifactsBuilder()

public YumArtifact.Builder addYumArtifactsBuilder()

The yum artifacts imported.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
YumArtifact.Builder

build()

public ImportYumArtifactsResponse build()
Returns
TypeDescription
ImportYumArtifactsResponse

buildPartial()

public ImportYumArtifactsResponse buildPartial()
Returns
TypeDescription
ImportYumArtifactsResponse

clear()

public ImportYumArtifactsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ImportYumArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportYumArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportYumArtifactsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearYumArtifacts()

public ImportYumArtifactsResponse.Builder clearYumArtifacts()

The yum artifacts imported.

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

Returns
TypeDescription
ImportYumArtifactsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ImportYumArtifactsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportYumArtifactsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
int

getErrorsList()

public List<ImportYumArtifactsErrorInfo> getErrorsList()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
YumArtifact

getYumArtifactsBuilder(int index)

public YumArtifact.Builder getYumArtifactsBuilder(int index)

The yum artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
YumArtifact.Builder

getYumArtifactsBuilderList()

public List<YumArtifact.Builder> getYumArtifactsBuilderList()

The yum artifacts imported.

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

Returns
TypeDescription
List<Builder>

getYumArtifactsCount()

public int getYumArtifactsCount()

The yum artifacts imported.

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

Returns
TypeDescription
int

getYumArtifactsList()

public List<YumArtifact> getYumArtifactsList()

The yum artifacts imported.

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

Returns
TypeDescription
List<YumArtifact>

getYumArtifactsOrBuilder(int index)

public YumArtifactOrBuilder getYumArtifactsOrBuilder(int index)

The yum artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
YumArtifactOrBuilder

getYumArtifactsOrBuilderList()

public List<? extends YumArtifactOrBuilder> getYumArtifactsOrBuilderList()

The yum artifacts imported.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportYumArtifactsResponse other)

public ImportYumArtifactsResponse.Builder mergeFrom(ImportYumArtifactsResponse other)
Parameter
NameDescription
otherImportYumArtifactsResponse
Returns
TypeDescription
ImportYumArtifactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportYumArtifactsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportYumArtifactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueImportYumArtifactsErrorInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportYumArtifactsErrorInfo.Builder
Returns
TypeDescription
ImportYumArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ImportYumArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportYumArtifactsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueYumArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueYumArtifact.Builder
Returns
TypeDescription
ImportYumArtifactsResponse.Builder