- 2.49.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Inventory.VersionedPackage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
build()
public Inventory.VersionedPackage build()
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage |
buildPartial()
public Inventory.VersionedPackage buildPartial()
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage |
clear()
public Inventory.VersionedPackage.Builder clear()
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
clearArchitecture()
public Inventory.VersionedPackage.Builder clearArchitecture()
The system architecture this package is intended for.
string architecture = 2;
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Inventory.VersionedPackage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Inventory.VersionedPackage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
clearPackageName()
public Inventory.VersionedPackage.Builder clearPackageName()
The name of the package.
string package_name = 4;
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clearVersion()
public Inventory.VersionedPackage.Builder clearVersion()
The version of the package.
string version = 3;
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |
clone()
public Inventory.VersionedPackage.Builder clone()
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
getArchitecture()
public String getArchitecture()
The system architecture this package is intended for.
string architecture = 2;
Returns | |
---|---|
Type | Description |
String | The architecture. |
getArchitectureBytes()
public ByteString getArchitectureBytes()
The system architecture this package is intended for.
string architecture = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for architecture. |
getDefaultInstanceForType()
public Inventory.VersionedPackage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPackageName()
public String getPackageName()
The name of the package.
string package_name = 4;
Returns | |
---|---|
Type | Description |
String | The packageName. |
getPackageNameBytes()
public ByteString getPackageNameBytes()
The name of the package.
string package_name = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for packageName. |
getVersion()
public String getVersion()
The version of the package.
string version = 3;
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The version of the package.
string version = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Inventory.VersionedPackage other)
public Inventory.VersionedPackage.Builder mergeFrom(Inventory.VersionedPackage other)
Parameter | |
---|---|
Name | Description |
other | Inventory.VersionedPackage |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Inventory.VersionedPackage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Inventory.VersionedPackage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.VersionedPackage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The architecture to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for architecture to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
setPackageName(String value)
public Inventory.VersionedPackage.Builder setPackageName(String value)
The name of the package.
string package_name = 4;
Parameter | |
---|---|
Name | Description |
value | String The packageName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for packageName to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.VersionedPackage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder |
setVersion(String value)
public Inventory.VersionedPackage.Builder setVersion(String value)
The version of the package.
string version = 3;
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Inventory.VersionedPackage.Builder | This builder for chaining. |