Send feedback
Class ImportYumArtifactsErrorInfo.Builder (1.2.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.3 keyboard_arrow_down
public static final class ImportYumArtifactsErrorInfo . Builder extends GeneratedMessageV3 . Builder<ImportYumArtifactsErrorInfo . Builder > implements ImportYumArtifactsErrorInfoOrBuilder
Error information explaining why a package was not imported.
Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public ImportYumArtifactsErrorInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ImportYumArtifactsErrorInfo build ()
Returns
public ImportYumArtifactsErrorInfo buildPartial ()
Returns
public ImportYumArtifactsErrorInfo . Builder clear ()
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder clearError ()
The detailed error status.
.google.rpc.Status error = 2;
Returns
public ImportYumArtifactsErrorInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder clearGcsSource ()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
public ImportYumArtifactsErrorInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder clearSource ()
Returns
public ImportYumArtifactsErrorInfo . Builder clone ()
Returns
Overrides
public ImportYumArtifactsErrorInfo getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
The detailed error status.
.google.rpc.Status error = 2;
Returns
Type Description com.google.rpc.Status The error.
public Status . Builder getErrorBuilder ()
The detailed error status.
.google.rpc.Status error = 2;
Returns
Type Description com.google.rpc.Status.Builder
public StatusOrBuilder getErrorOrBuilder ()
The detailed error status.
.google.rpc.Status error = 2;
Returns
Type Description com.google.rpc.StatusOrBuilder
public ImportYumArtifactsGcsSource getGcsSource ()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
public ImportYumArtifactsGcsSource . Builder getGcsSourceBuilder ()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder ()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
public ImportYumArtifactsErrorInfo . SourceCase getSourceCase ()
Returns
public boolean hasError ()
The detailed error status.
.google.rpc.Status error = 2;
Returns
Type Description boolean Whether the error field is set.
public boolean hasGcsSource ()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
Type Description boolean Whether the gcsSource field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder mergeError ( Status value )
The detailed error status.
.google.rpc.Status error = 2;
Parameter
Name Description value com.google.rpc.Status
Returns
public ImportYumArtifactsErrorInfo . Builder mergeFrom ( ImportYumArtifactsErrorInfo other )
Parameter
Returns
public ImportYumArtifactsErrorInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public ImportYumArtifactsErrorInfo . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder mergeGcsSource ( ImportYumArtifactsGcsSource value )
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Parameter
Returns
public final ImportYumArtifactsErrorInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder setError ( Status value )
The detailed error status.
.google.rpc.Status error = 2;
Parameter
Name Description value com.google.rpc.Status
Returns
public ImportYumArtifactsErrorInfo . Builder setError ( Status . Builder builderForValue )
The detailed error status.
.google.rpc.Status error = 2;
Parameter
Name Description builderForValue com.google.rpc.Status.Builder
Returns
public ImportYumArtifactsErrorInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ImportYumArtifactsErrorInfo . Builder setGcsSource ( ImportYumArtifactsGcsSource value )
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Parameter
Returns
public ImportYumArtifactsErrorInfo . Builder setGcsSource ( ImportYumArtifactsGcsSource . Builder builderForValue )
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Parameter
Returns
public ImportYumArtifactsErrorInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final ImportYumArtifactsErrorInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]