public static final class OperatingSystemVersion.Builder extends GeneratedMessageV3.Builder<OperatingSystemVersion.Builder> implements OperatingSystemVersionOrBuilderRepresents a specific version of an operating system.
 Protobuf type google.ads.admanager.v1.OperatingSystemVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperatingSystemVersion.BuilderImplements
OperatingSystemVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperatingSystemVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
build()
public OperatingSystemVersion build()| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion | |
buildPartial()
public OperatingSystemVersion buildPartial()| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion | |
clear()
public OperatingSystemVersion.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
clearField(Descriptors.FieldDescriptor field)
public OperatingSystemVersion.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
clearMajorVersion()
public OperatingSystemVersion.Builder clearMajorVersion()Output only. The major version of the operating system.
 optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
clearMicroVersion()
public OperatingSystemVersion.Builder clearMicroVersion()Output only. The micro version of the operating system.
 optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
clearMinorVersion()
public OperatingSystemVersion.Builder clearMinorVersion()Output only. The minor version of the operating system.
 optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
clearName()
public OperatingSystemVersion.Builder clearName() Identifier. The resource name of the OperatingSystemVersion.
 Format:
 networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public OperatingSystemVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
clone()
public OperatingSystemVersion.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
getDefaultInstanceForType()
public OperatingSystemVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getMajorVersion()
public int getMajorVersion()Output only. The major version of the operating system.
 optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| int | The majorVersion. | 
getMicroVersion()
public int getMicroVersion()Output only. The micro version of the operating system.
 optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| int | The microVersion. | 
getMinorVersion()
public int getMinorVersion()Output only. The minor version of the operating system.
 optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| int | The minorVersion. | 
getName()
public String getName() Identifier. The resource name of the OperatingSystemVersion.
 Format:
 networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the OperatingSystemVersion.
 Format:
 networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
hasMajorVersion()
public boolean hasMajorVersion()Output only. The major version of the operating system.
 optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the majorVersion field is set. | 
hasMicroVersion()
public boolean hasMicroVersion()Output only. The micro version of the operating system.
 optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the microVersion field is set. | 
hasMinorVersion()
public boolean hasMinorVersion()Output only. The minor version of the operating system.
 optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the minorVersion field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(OperatingSystemVersion other)
public OperatingSystemVersion.Builder mergeFrom(OperatingSystemVersion other)| Parameter | |
|---|---|
| Name | Description | 
| other | OperatingSystemVersion | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperatingSystemVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public OperatingSystemVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperatingSystemVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public OperatingSystemVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
setMajorVersion(int value)
public OperatingSystemVersion.Builder setMajorVersion(int value)Output only. The major version of the operating system.
 optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe majorVersion to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
setMicroVersion(int value)
public OperatingSystemVersion.Builder setMicroVersion(int value)Output only. The micro version of the operating system.
 optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe microVersion to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
setMinorVersion(int value)
public OperatingSystemVersion.Builder setMinorVersion(int value)Output only. The minor version of the operating system.
 optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe minorVersion to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
setName(String value)
public OperatingSystemVersion.Builder setName(String value) Identifier. The resource name of the OperatingSystemVersion.
 Format:
 networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public OperatingSystemVersion.Builder setNameBytes(ByteString value) Identifier. The resource name of the OperatingSystemVersion.
 Format:
 networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperatingSystemVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final OperatingSystemVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| OperatingSystemVersion.Builder | |