- 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.OsInfo.Builder extends GeneratedMessageV3.Builder<Inventory.OsInfo.Builder> implements Inventory.OsInfoOrBuilder
Operating system information for the VM.
Protobuf type google.cloud.osconfig.v1.Inventory.OsInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Inventory.OsInfo.BuilderImplements
Inventory.OsInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Inventory.OsInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
build()
public Inventory.OsInfo build()
Returns | |
---|---|
Type | Description |
Inventory.OsInfo |
buildPartial()
public Inventory.OsInfo buildPartial()
Returns | |
---|---|
Type | Description |
Inventory.OsInfo |
clear()
public Inventory.OsInfo.Builder clear()
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
clearArchitecture()
public Inventory.OsInfo.Builder clearArchitecture()
The system architecture of the operating system.
string architecture = 5;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Inventory.OsInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
clearHostname()
public Inventory.OsInfo.Builder clearHostname()
The VM hostname.
string hostname = 9;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearKernelRelease()
public Inventory.OsInfo.Builder clearKernelRelease()
The kernel release of the operating system.
string kernel_release = 7;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearKernelVersion()
public Inventory.OsInfo.Builder clearKernelVersion()
The kernel version of the operating system.
string kernel_version = 6;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearLongName()
public Inventory.OsInfo.Builder clearLongName()
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Inventory.OsInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
clearOsconfigAgentVersion()
public Inventory.OsInfo.Builder clearOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearShortName()
public Inventory.OsInfo.Builder clearShortName()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clearVersion()
public Inventory.OsInfo.Builder clearVersion()
The version of the operating system.
string version = 4;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
clone()
public Inventory.OsInfo.Builder clone()
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
getArchitecture()
public String getArchitecture()
The system architecture of the operating system.
string architecture = 5;
Returns | |
---|---|
Type | Description |
String |
The architecture. |
getArchitectureBytes()
public ByteString getArchitectureBytes()
The system architecture of the operating system.
string architecture = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for architecture. |
getDefaultInstanceForType()
public Inventory.OsInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Inventory.OsInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHostname()
public String getHostname()
The VM hostname.
string hostname = 9;
Returns | |
---|---|
Type | Description |
String |
The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
The VM hostname.
string hostname = 9;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hostname. |
getKernelRelease()
public String getKernelRelease()
The kernel release of the operating system.
string kernel_release = 7;
Returns | |
---|---|
Type | Description |
String |
The kernelRelease. |
getKernelReleaseBytes()
public ByteString getKernelReleaseBytes()
The kernel release of the operating system.
string kernel_release = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kernelRelease. |
getKernelVersion()
public String getKernelVersion()
The kernel version of the operating system.
string kernel_version = 6;
Returns | |
---|---|
Type | Description |
String |
The kernelVersion. |
getKernelVersionBytes()
public ByteString getKernelVersionBytes()
The kernel version of the operating system.
string kernel_version = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kernelVersion. |
getLongName()
public String getLongName()
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;
Returns | |
---|---|
Type | Description |
String |
The longName. |
getLongNameBytes()
public ByteString getLongNameBytes()
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for longName. |
getOsconfigAgentVersion()
public String getOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;
Returns | |
---|---|
Type | Description |
String |
The osconfigAgentVersion. |
getOsconfigAgentVersionBytes()
public ByteString getOsconfigAgentVersionBytes()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for osconfigAgentVersion. |
getShortName()
public String getShortName()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;
Returns | |
---|---|
Type | Description |
String |
The shortName. |
getShortNameBytes()
public ByteString getShortNameBytes()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for shortName. |
getVersion()
public String getVersion()
The version of the operating system.
string version = 4;
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
The version of the operating system.
string version = 4;
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.OsInfo other)
public Inventory.OsInfo.Builder mergeFrom(Inventory.OsInfo other)
Parameter | |
---|---|
Name | Description |
other |
Inventory.OsInfo |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Inventory.OsInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Inventory.OsInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.OsInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
setArchitecture(String value)
public Inventory.OsInfo.Builder setArchitecture(String value)
The system architecture of the operating system.
string architecture = 5;
Parameter | |
---|---|
Name | Description |
value |
String The architecture to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setArchitectureBytes(ByteString value)
public Inventory.OsInfo.Builder setArchitectureBytes(ByteString value)
The system architecture of the operating system.
string architecture = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for architecture to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Inventory.OsInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
setHostname(String value)
public Inventory.OsInfo.Builder setHostname(String value)
The VM hostname.
string hostname = 9;
Parameter | |
---|---|
Name | Description |
value |
String The hostname to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public Inventory.OsInfo.Builder setHostnameBytes(ByteString value)
The VM hostname.
string hostname = 9;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hostname to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setKernelRelease(String value)
public Inventory.OsInfo.Builder setKernelRelease(String value)
The kernel release of the operating system.
string kernel_release = 7;
Parameter | |
---|---|
Name | Description |
value |
String The kernelRelease to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setKernelReleaseBytes(ByteString value)
public Inventory.OsInfo.Builder setKernelReleaseBytes(ByteString value)
The kernel release of the operating system.
string kernel_release = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kernelRelease to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setKernelVersion(String value)
public Inventory.OsInfo.Builder setKernelVersion(String value)
The kernel version of the operating system.
string kernel_version = 6;
Parameter | |
---|---|
Name | Description |
value |
String The kernelVersion to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setKernelVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setKernelVersionBytes(ByteString value)
The kernel version of the operating system.
string kernel_version = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kernelVersion to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setLongName(String value)
public Inventory.OsInfo.Builder setLongName(String value)
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The longName to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setLongNameBytes(ByteString value)
public Inventory.OsInfo.Builder setLongNameBytes(ByteString value)
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for longName to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setOsconfigAgentVersion(String value)
public Inventory.OsInfo.Builder setOsconfigAgentVersion(String value)
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;
Parameter | |
---|---|
Name | Description |
value |
String The osconfigAgentVersion to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setOsconfigAgentVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setOsconfigAgentVersionBytes(ByteString value)
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for osconfigAgentVersion to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Inventory.OsInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
setShortName(String value)
public Inventory.OsInfo.Builder setShortName(String value)
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The shortName to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setShortNameBytes(ByteString value)
public Inventory.OsInfo.Builder setShortNameBytes(ByteString value)
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for shortName to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.OsInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
setVersion(String value)
public Inventory.OsInfo.Builder setVersion(String value)
The version of the operating system.
string version = 4;
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setVersionBytes(ByteString value)
The version of the operating system.
string version = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Inventory.OsInfo.Builder |
This builder for chaining. |