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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
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
public ImportYumArtifactsResponse.Builder addErrors(ImportYumArtifactsErrorInfo value)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public ImportYumArtifactsErrorInfo.Builder addErrorsBuilder()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Returns
public ImportYumArtifactsErrorInfo.Builder addErrorsBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportYumArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportYumArtifactsResponse.Builder addYumArtifacts(YumArtifact value)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
public ImportYumArtifactsResponse.Builder addYumArtifacts(YumArtifact.Builder builderForValue)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
public ImportYumArtifactsResponse.Builder addYumArtifacts(int index, YumArtifact value)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameters
Returns
public ImportYumArtifactsResponse.Builder addYumArtifacts(int index, YumArtifact.Builder builderForValue)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameters
Returns
public YumArtifact.Builder addYumArtifactsBuilder()
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Returns
public YumArtifact.Builder addYumArtifactsBuilder(int index)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
public ImportYumArtifactsResponse build()
Returns
public ImportYumArtifactsResponse buildPartial()
Returns
public ImportYumArtifactsResponse.Builder clear()
Returns
Overrides
public ImportYumArtifactsResponse.Builder clearErrors()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Returns
public ImportYumArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportYumArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportYumArtifactsResponse.Builder clearYumArtifacts()
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Returns
public ImportYumArtifactsResponse.Builder clone()
Returns
Overrides
public ImportYumArtifactsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ImportYumArtifactsErrorInfo getErrors(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportYumArtifactsErrorInfo.Builder getErrorsBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
public List<ImportYumArtifactsErrorInfo.Builder> getErrorsBuilderList()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Returns
public int getErrorsCount()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Returns
public List<ImportYumArtifactsErrorInfo> getErrorsList()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Returns
public ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
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> | |
public YumArtifact getYumArtifacts(int index)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
public YumArtifact.Builder getYumArtifactsBuilder(int index)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
public List<YumArtifact.Builder> getYumArtifactsBuilderList()
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Returns
public int getYumArtifactsCount()
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Returns
public List<YumArtifact> getYumArtifactsList()
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Returns
public YumArtifactOrBuilder getYumArtifactsOrBuilder(int index)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportYumArtifactsResponse.Builder mergeFrom(ImportYumArtifactsResponse other)
Parameter
Returns
public ImportYumArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportYumArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportYumArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportYumArtifactsResponse.Builder removeErrors(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportYumArtifactsResponse.Builder removeYumArtifacts(int index)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameter
Returns
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
Returns
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
Returns
public ImportYumArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportYumArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportYumArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportYumArtifactsResponse.Builder setYumArtifacts(int index, YumArtifact value)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameters
Returns
public ImportYumArtifactsResponse.Builder setYumArtifacts(int index, YumArtifact.Builder builderForValue)
The yum artifacts imported.
repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1;
Parameters
Returns