Class GetPlacementRequest.Builder (0.2.0)

public static final class GetPlacementRequest.Builder extends GeneratedMessageV3.Builder<GetPlacementRequest.Builder> implements GetPlacementRequestOrBuilder

Request object for GetPlacement method.

Protobuf type google.ads.admanager.v1.GetPlacementRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetPlacementRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetPlacementRequest.Builder
Overrides

build()

public GetPlacementRequest build()
Returns
Type Description
GetPlacementRequest

buildPartial()

public GetPlacementRequest buildPartial()
Returns
Type Description
GetPlacementRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetPlacementRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetPlacementRequest.Builder
Overrides

clearName()

public GetPlacementRequest.Builder clearName()

Required. The resource name of the Placement. Format: networks/{network_code}/placements/{placement_id}

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

Returns
Type Description
GetPlacementRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetPlacementRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetPlacementRequest.Builder
Overrides

clone()

public GetPlacementRequest.Builder clone()
Returns
Type Description
GetPlacementRequest.Builder
Overrides

getDefaultInstanceForType()

public GetPlacementRequest getDefaultInstanceForType()
Returns
Type Description
GetPlacementRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the Placement. Format: networks/{network_code}/placements/{placement_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 Placement. Format: networks/{network_code}/placements/{placement_id}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetPlacementRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetPlacementRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetPlacementRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetPlacementRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetPlacementRequest.Builder
Overrides

setName(String value)

public GetPlacementRequest.Builder setName(String value)

Required. The resource name of the Placement. Format: networks/{network_code}/placements/{placement_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
GetPlacementRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetPlacementRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the Placement. Format: networks/{network_code}/placements/{placement_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
GetPlacementRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetPlacementRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetPlacementRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetPlacementRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetPlacementRequest.Builder
Overrides