Class GetYieldGroupRequest.Builder (0.62.0)

public static final class GetYieldGroupRequest.Builder extends GeneratedMessage.Builder<GetYieldGroupRequest.Builder> implements GetYieldGroupRequestOrBuilder

Request object for GetYieldGroup method.

Protobuf type google.ads.admanager.v1.GetYieldGroupRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetYieldGroupRequest build()
Returns
Type Description
GetYieldGroupRequest

buildPartial()

public GetYieldGroupRequest buildPartial()
Returns
Type Description
GetYieldGroupRequest

clear()

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

clearName()

public GetYieldGroupRequest.Builder clearName()

Required. The resource name of the YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_id}

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

Returns
Type Description
GetYieldGroupRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetYieldGroupRequest getDefaultInstanceForType()
Returns
Type Description
GetYieldGroupRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_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 YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_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(GetYieldGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetYieldGroupRequest.Builder setName(String value)

Required. The resource name of the YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_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
GetYieldGroupRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetYieldGroupRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_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
GetYieldGroupRequest.Builder

This builder for chaining.