Class DeleteAdSenseLinkRequest.Builder (0.63.0)

public static final class DeleteAdSenseLinkRequest.Builder extends GeneratedMessageV3.Builder<DeleteAdSenseLinkRequest.Builder> implements DeleteAdSenseLinkRequestOrBuilder

Request message to be passed to DeleteAdSenseLink method.

Protobuf type google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteAdSenseLinkRequest build()
Returns
Type Description
DeleteAdSenseLinkRequest

buildPartial()

public DeleteAdSenseLinkRequest buildPartial()
Returns
Type Description
DeleteAdSenseLinkRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteAdSenseLinkRequest.Builder clearName()

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

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

Returns
Type Description
DeleteAdSenseLinkRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteAdSenseLinkRequest getDefaultInstanceForType()
Returns
Type Description
DeleteAdSenseLinkRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

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(DeleteAdSenseLinkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteAdSenseLinkRequest.Builder setName(String value)

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteAdSenseLinkRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAdSenseLinkRequest.Builder setNameBytes(ByteString value)

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

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
DeleteAdSenseLinkRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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