Class YumArtifact.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<YumArtifact.Builder>
com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder
- All Implemented Interfaces:
YumArtifactOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- YumArtifact
public static final class YumArtifact.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YumArtifact.Builder>
implements YumArtifactOrBuilder
A detailed representation of a Yum artifact.Protobuf type
google.devtools.artifactregistry.v1beta2.YumArtifact-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(YumArtifact other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArchitecture(String value) Output only.setArchitectureBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPackageName(String value) Output only.setPackageNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setPackageTypeValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<YumArtifact.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<YumArtifact.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.GeneratedMessage.Builder<YumArtifact.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<YumArtifact.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<YumArtifact.Builder>
-
mergeFrom
public YumArtifact.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<YumArtifact.Builder>- Throws:
IOException
-
getName
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceYumArtifactOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceYumArtifactOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPackageName
Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPackageNamein interfaceYumArtifactOrBuilder- Returns:
- The packageName.
-
getPackageNameBytes
public com.google.protobuf.ByteString getPackageNameBytes()Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPackageNameBytesin interfaceYumArtifactOrBuilder- Returns:
- The bytes for packageName.
-
setPackageName
Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The packageName to set.- Returns:
- This builder for chaining.
-
clearPackageName
Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPackageNameBytes
Output only. The yum package name of the artifact.
string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for packageName to set.- Returns:
- This builder for chaining.
-
getPackageTypeValue
public int getPackageTypeValue()Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPackageTypeValuein interfaceYumArtifactOrBuilder- Returns:
- The enum numeric value on the wire for packageType.
-
setPackageTypeValue
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for packageType to set.- Returns:
- This builder for chaining.
-
getPackageType
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPackageTypein interfaceYumArtifactOrBuilder- Returns:
- The packageType.
-
setPackageType
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The packageType to set.- Returns:
- This builder for chaining.
-
clearPackageType
Output only. An artifact is a binary or source package.
.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getArchitecture
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArchitecturein interfaceYumArtifactOrBuilder- Returns:
- The architecture.
-
getArchitectureBytes
public com.google.protobuf.ByteString getArchitectureBytes()Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArchitectureBytesin interfaceYumArtifactOrBuilder- Returns:
- The bytes for architecture.
-
setArchitecture
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setArchitectureBytes
Output only. Operating system architecture of the artifact.
string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for architecture to set.- Returns:
- This builder for chaining.
-