- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class Inventory.VersionedPackage.Builder extends GeneratedMessageV3.Builder<Inventory.VersionedPackage.Builder> implements Inventory.VersionedPackageOrBuilder
Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.
Protobuf type google.cloud.osconfig.v1.Inventory.VersionedPackage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Inventory.VersionedPackage.BuilderImplements
Inventory.VersionedPackageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Inventory.VersionedPackage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Inventory.VersionedPackage.Builder |
build()
public Inventory.VersionedPackage build()
Type | Description |
Inventory.VersionedPackage |
buildPartial()
public Inventory.VersionedPackage buildPartial()
Type | Description |
Inventory.VersionedPackage |
clear()
public Inventory.VersionedPackage.Builder clear()
Type | Description |
Inventory.VersionedPackage.Builder |
clearArchitecture()
public Inventory.VersionedPackage.Builder clearArchitecture()
The system architecture this package is intended for.
string architecture = 2;
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Inventory.VersionedPackage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Inventory.VersionedPackage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Inventory.VersionedPackage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Inventory.VersionedPackage.Builder |
clearPackageName()
public Inventory.VersionedPackage.Builder clearPackageName()
The name of the package.
string package_name = 4;
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clearVersion()
public Inventory.VersionedPackage.Builder clearVersion()
The version of the package.
string version = 3;
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clone()
public Inventory.VersionedPackage.Builder clone()
Type | Description |
Inventory.VersionedPackage.Builder |
getArchitecture()
public String getArchitecture()
The system architecture this package is intended for.
string architecture = 2;
Type | Description |
String | The architecture. |
getArchitectureBytes()
public ByteString getArchitectureBytes()
The system architecture this package is intended for.
string architecture = 2;
Type | Description |
ByteString | The bytes for architecture. |
getDefaultInstanceForType()
public Inventory.VersionedPackage getDefaultInstanceForType()
Type | Description |
Inventory.VersionedPackage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPackageName()
public String getPackageName()
The name of the package.
string package_name = 4;
Type | Description |
String | The packageName. |
getPackageNameBytes()
public ByteString getPackageNameBytes()
The name of the package.
string package_name = 4;
Type | Description |
ByteString | The bytes for packageName. |
getVersion()
public String getVersion()
The version of the package.
string version = 3;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The version of the package.
string version = 3;
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Inventory.VersionedPackage other)
public Inventory.VersionedPackage.Builder mergeFrom(Inventory.VersionedPackage other)
Name | Description |
other | Inventory.VersionedPackage |
Type | Description |
Inventory.VersionedPackage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Inventory.VersionedPackage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Inventory.VersionedPackage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Inventory.VersionedPackage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Inventory.VersionedPackage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.VersionedPackage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Inventory.VersionedPackage.Builder |
setArchitecture(String value)
public Inventory.VersionedPackage.Builder setArchitecture(String value)
The system architecture this package is intended for.
string architecture = 2;
Name | Description |
value | String The architecture to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
setArchitectureBytes(ByteString value)
public Inventory.VersionedPackage.Builder setArchitectureBytes(ByteString value)
The system architecture this package is intended for.
string architecture = 2;
Name | Description |
value | ByteString The bytes for architecture to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Inventory.VersionedPackage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Inventory.VersionedPackage.Builder |
setPackageName(String value)
public Inventory.VersionedPackage.Builder setPackageName(String value)
The name of the package.
string package_name = 4;
Name | Description |
value | String The packageName to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
setPackageNameBytes(ByteString value)
public Inventory.VersionedPackage.Builder setPackageNameBytes(ByteString value)
The name of the package.
string package_name = 4;
Name | Description |
value | ByteString The bytes for packageName to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Inventory.VersionedPackage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Inventory.VersionedPackage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.VersionedPackage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Inventory.VersionedPackage.Builder |
setVersion(String value)
public Inventory.VersionedPackage.Builder setVersion(String value)
The version of the package.
string version = 3;
Name | Description |
value | String The version to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public Inventory.VersionedPackage.Builder setVersionBytes(ByteString value)
The version of the package.
string version = 3;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |