Package com.buildless.telemetry
Interface OSInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSInfo,OSInfo.Builder
public interface OSInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArch()Specifies the architecture which the source operating system is running, if known.intSpecifies the architecture which the source operating system is running, if known.Specifies the OS family that relates to the operating system info being expressed.intSpecifies the OS family that relates to the operating system info being expressed.getName()Specifies a shortname for the operating system.com.google.protobuf.ByteStringSpecifies a shortname for the operating system.Specifies version info for the source operating system, if known.Specifies version info for the source operating system, if known.booleanSpecifies version info for the source operating system, if known.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Specifies a shortname for the operating system. For example, for macOS, this would be "macOS".
string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Specifies a shortname for the operating system. For example, for macOS, this would be "macOS".
string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getFamilyValue
int getFamilyValue()Specifies the OS family that relates to the operating system info being expressed.
.buildless.telemetry.OSFamily family = 2 [json_name = "family", (.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for family.
-
getFamily
OSFamily getFamily()Specifies the OS family that relates to the operating system info being expressed.
.buildless.telemetry.OSFamily family = 2 [json_name = "family", (.google.api.field_behavior) = REQUIRED];- Returns:
- The family.
-
getArchValue
int getArchValue()Specifies the architecture which the source operating system is running, if known.
.buildless.telemetry.ProcessorArch arch = 3 [json_name = "arch", (.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for arch.
-
getArch
ProcessorArch getArch()Specifies the architecture which the source operating system is running, if known.
.buildless.telemetry.ProcessorArch arch = 3 [json_name = "arch", (.google.api.field_behavior) = REQUIRED];- Returns:
- The arch.
-
hasVersion
boolean hasVersion()Specifies version info for the source operating system, if known.
.buildless.telemetry.VersionInfo version = 4 [json_name = "version", (.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the version field is set.
-
getVersion
VersionInfo getVersion()Specifies version info for the source operating system, if known.
.buildless.telemetry.VersionInfo version = 4 [json_name = "version", (.google.api.field_behavior) = REQUIRED];- Returns:
- The version.
-
getVersionOrBuilder
VersionInfoOrBuilder getVersionOrBuilder()Specifies version info for the source operating system, if known.
.buildless.telemetry.VersionInfo version = 4 [json_name = "version", (.google.api.field_behavior) = REQUIRED];
-