public static final class OperatingSystem.Builder extends GeneratedMessage.Builder<OperatingSystem.Builder> implements OperatingSystemOrBuilderRepresents a device's operating system.
Protobuf type google.ads.admanager.v1.OperatingSystem
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OperatingSystem.BuilderImplements
OperatingSystemOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OperatingSystem build()| Returns | |
|---|---|
| Type | Description |
OperatingSystem |
|
buildPartial()
public OperatingSystem buildPartial()| Returns | |
|---|---|
| Type | Description |
OperatingSystem |
|
clear()
public OperatingSystem.Builder clear()| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
clearDisplayName()
public OperatingSystem.Builder clearDisplayName()Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |
clearName()
public OperatingSystem.Builder clearName() Identifier. The resource name of the OperatingSystem.
Format: networks/{network_code}/operatingSystems/{operating_system_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public OperatingSystem getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OperatingSystem |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName() Identifier. The resource name of the OperatingSystem.
Format: networks/{network_code}/operatingSystems/{operating_system_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 OperatingSystem.
Format: networks/{network_code}/operatingSystems/{operating_system_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasDisplayName()
public boolean hasDisplayName()Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperatingSystem other)
public OperatingSystem.Builder mergeFrom(OperatingSystem other)| Parameter | |
|---|---|
| Name | Description |
other |
OperatingSystem |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperatingSystem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OperatingSystem.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
|
setDisplayName(String value)
public OperatingSystem.Builder setDisplayName(String value)Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public OperatingSystem.Builder setDisplayNameBytes(ByteString value)Output only. The name of the operating system.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |
setName(String value)
public OperatingSystem.Builder setName(String value) Identifier. The resource name of the OperatingSystem.
Format: networks/{network_code}/operatingSystems/{operating_system_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OperatingSystem.Builder setNameBytes(ByteString value) Identifier. The resource name of the OperatingSystem.
Format: networks/{network_code}/operatingSystems/{operating_system_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
OperatingSystem.Builder |
This builder for chaining. |