Class GetOperatingSystemVersionRequest.Builder (0.44.0)

public static final class GetOperatingSystemVersionRequest.Builder extends GeneratedMessage.Builder<GetOperatingSystemVersionRequest.Builder> implements GetOperatingSystemVersionRequestOrBuilder

Request object for GetOperatingSystemVersion method.

Protobuf type google.ads.admanager.v1.GetOperatingSystemVersionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetOperatingSystemVersionRequest build()
Returns
Type Description
GetOperatingSystemVersionRequest

buildPartial()

public GetOperatingSystemVersionRequest buildPartial()
Returns
Type Description
GetOperatingSystemVersionRequest

clear()

public GetOperatingSystemVersionRequest.Builder clear()
Returns
Type Description
GetOperatingSystemVersionRequest.Builder
Overrides

clearName()

public GetOperatingSystemVersionRequest.Builder clearName()

Required. The resource name of the OperatingSystemVersion. Format: networks/{network_code}/operatingSystemVersions/{operating_system_version_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetOperatingSystemVersionRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetOperatingSystemVersionRequest getDefaultInstanceForType()
Returns
Type Description
GetOperatingSystemVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the OperatingSystemVersion. Format: networks/{network_code}/operatingSystemVersions/{operating_system_version_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the OperatingSystemVersion. Format: networks/{network_code}/operatingSystemVersions/{operating_system_version_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetOperatingSystemVersionRequest other)

public GetOperatingSystemVersionRequest.Builder mergeFrom(GetOperatingSystemVersionRequest other)
Parameter
Name Description
other GetOperatingSystemVersionRequest
Returns
Type Description
GetOperatingSystemVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetOperatingSystemVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetOperatingSystemVersionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetOperatingSystemVersionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetOperatingSystemVersionRequest.Builder
Overrides

setName(String value)

public GetOperatingSystemVersionRequest.Builder setName(String value)

Required. The resource name of the OperatingSystemVersion. Format: networks/{network_code}/operatingSystemVersions/{operating_system_version_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetOperatingSystemVersionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetOperatingSystemVersionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the OperatingSystemVersion. Format: networks/{network_code}/operatingSystemVersions/{operating_system_version_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetOperatingSystemVersionRequest.Builder

This builder for chaining.