Class ImportAptArtifactsErrorInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
- com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder
-
- All Implemented Interfaces:
ImportAptArtifactsErrorInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportAptArtifactsErrorInfo
public static final class ImportAptArtifactsErrorInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder> implements ImportAptArtifactsErrorInfoOrBuilder
Error information explaining why a package was not imported.
Protobuf typegoogle.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportAptArtifactsErrorInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportAptArtifactsErrorInfobuild()ImportAptArtifactsErrorInfobuildPartial()ImportAptArtifactsErrorInfo.Builderclear()ImportAptArtifactsErrorInfo.BuilderclearError()The detailed error status.ImportAptArtifactsErrorInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImportAptArtifactsErrorInfo.BuilderclearGcsSource()Google Cloud Storage location requested.ImportAptArtifactsErrorInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImportAptArtifactsErrorInfo.BuilderclearSource()ImportAptArtifactsErrorInfo.Builderclone()ImportAptArtifactsErrorInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetError()The detailed error status.com.google.rpc.Status.BuildergetErrorBuilder()The detailed error status.com.google.rpc.StatusOrBuildergetErrorOrBuilder()The detailed error status.ImportAptArtifactsGcsSourcegetGcsSource()Google Cloud Storage location requested.ImportAptArtifactsGcsSource.BuildergetGcsSourceBuilder()Google Cloud Storage location requested.ImportAptArtifactsGcsSourceOrBuildergetGcsSourceOrBuilder()Google Cloud Storage location requested.ImportAptArtifactsErrorInfo.SourceCasegetSourceCase()booleanhasError()The detailed error status.booleanhasGcsSource()Google Cloud Storage location requested.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ImportAptArtifactsErrorInfo.BuildermergeError(com.google.rpc.Status value)The detailed error status.ImportAptArtifactsErrorInfo.BuildermergeFrom(ImportAptArtifactsErrorInfo other)ImportAptArtifactsErrorInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImportAptArtifactsErrorInfo.BuildermergeFrom(com.google.protobuf.Message other)ImportAptArtifactsErrorInfo.BuildermergeGcsSource(ImportAptArtifactsGcsSource value)Google Cloud Storage location requested.ImportAptArtifactsErrorInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportAptArtifactsErrorInfo.BuildersetError(com.google.rpc.Status value)The detailed error status.ImportAptArtifactsErrorInfo.BuildersetError(com.google.rpc.Status.Builder builderForValue)The detailed error status.ImportAptArtifactsErrorInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportAptArtifactsErrorInfo.BuildersetGcsSource(ImportAptArtifactsGcsSource value)Google Cloud Storage location requested.ImportAptArtifactsErrorInfo.BuildersetGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue)Google Cloud Storage location requested.ImportAptArtifactsErrorInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImportAptArtifactsErrorInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
clear
public ImportAptArtifactsErrorInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
getDefaultInstanceForType
public ImportAptArtifactsErrorInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportAptArtifactsErrorInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportAptArtifactsErrorInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportAptArtifactsErrorInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
setField
public ImportAptArtifactsErrorInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
clearField
public ImportAptArtifactsErrorInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
clearOneof
public ImportAptArtifactsErrorInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
setRepeatedField
public ImportAptArtifactsErrorInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
addRepeatedField
public ImportAptArtifactsErrorInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
mergeFrom
public ImportAptArtifactsErrorInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportAptArtifactsErrorInfo.Builder>
-
mergeFrom
public ImportAptArtifactsErrorInfo.Builder mergeFrom(ImportAptArtifactsErrorInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
mergeFrom
public ImportAptArtifactsErrorInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportAptArtifactsErrorInfo.Builder>- Throws:
IOException
-
getSourceCase
public ImportAptArtifactsErrorInfo.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceImportAptArtifactsErrorInfoOrBuilder
-
clearSource
public ImportAptArtifactsErrorInfo.Builder clearSource()
-
hasGcsSource
public boolean hasGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;- Specified by:
hasGcsSourcein interfaceImportAptArtifactsErrorInfoOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
public ImportAptArtifactsGcsSource getGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;- Specified by:
getGcsSourcein interfaceImportAptArtifactsErrorInfoOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
-
setGcsSource
public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
-
mergeGcsSource
public ImportAptArtifactsErrorInfo.Builder mergeGcsSource(ImportAptArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
-
clearGcsSource
public ImportAptArtifactsErrorInfo.Builder clearGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
-
getGcsSourceBuilder
public ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
-
getGcsSourceOrBuilder
public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;- Specified by:
getGcsSourceOrBuilderin interfaceImportAptArtifactsErrorInfoOrBuilder
-
hasError
public boolean hasError()
The detailed error status.
.google.rpc.Status error = 2;- Specified by:
hasErrorin interfaceImportAptArtifactsErrorInfoOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
The detailed error status.
.google.rpc.Status error = 2;- Specified by:
getErrorin interfaceImportAptArtifactsErrorInfoOrBuilder- Returns:
- The error.
-
setError
public ImportAptArtifactsErrorInfo.Builder setError(com.google.rpc.Status value)
The detailed error status.
.google.rpc.Status error = 2;
-
setError
public ImportAptArtifactsErrorInfo.Builder setError(com.google.rpc.Status.Builder builderForValue)
The detailed error status.
.google.rpc.Status error = 2;
-
mergeError
public ImportAptArtifactsErrorInfo.Builder mergeError(com.google.rpc.Status value)
The detailed error status.
.google.rpc.Status error = 2;
-
clearError
public ImportAptArtifactsErrorInfo.Builder clearError()
The detailed error status.
.google.rpc.Status error = 2;
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
The detailed error status.
.google.rpc.Status error = 2;
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
The detailed error status.
.google.rpc.Status error = 2;- Specified by:
getErrorOrBuilderin interfaceImportAptArtifactsErrorInfoOrBuilder
-
setUnknownFields
public final ImportAptArtifactsErrorInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
mergeUnknownFields
public final ImportAptArtifactsErrorInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsErrorInfo.Builder>
-
-