Class ImportYumArtifactsResponse.Builder (1.38.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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>

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

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

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

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

addErrorsBuilder()

public ImportYumArtifactsErrorInfo.Builder addErrorsBuilder()

Detailed error info for packages that were not imported.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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()
Overrides

clearErrors()

public ImportYumArtifactsResponse.Builder clearErrors()

Detailed error info for packages that were not imported.

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearYumArtifacts()

public ImportYumArtifactsResponse.Builder clearYumArtifacts()

The yum artifacts imported.

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

clone()

public ImportYumArtifactsResponse.Builder clone()
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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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