Class CreateGoogleAdsLinkRequest.Builder (0.43.0)

public static final class CreateGoogleAdsLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateGoogleAdsLinkRequest.Builder> implements CreateGoogleAdsLinkRequestOrBuilder

Request message for CreateGoogleAdsLink RPC

Protobuf type google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateGoogleAdsLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

build()

public CreateGoogleAdsLinkRequest build()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

buildPartial()

public CreateGoogleAdsLinkRequest buildPartial()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

clear()

public CreateGoogleAdsLinkRequest.Builder clear()
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateGoogleAdsLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides
public CreateGoogleAdsLinkRequest.Builder clearGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateGoogleAdsLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

clearParent()

public CreateGoogleAdsLinkRequest.Builder clearParent()

Required. Example format: properties/1234

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

Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

clone()

public CreateGoogleAdsLinkRequest.Builder clone()
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateGoogleAdsLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public GoogleAdsLink getGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GoogleAdsLink

The googleAdsLink.

getGoogleAdsLinkBuilder()

public GoogleAdsLink.Builder getGoogleAdsLinkBuilder()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GoogleAdsLink.Builder

getGoogleAdsLinkOrBuilder()

public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GoogleAdsLinkOrBuilder

getParent()

public String getParent()

Required. Example format: properties/1234

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Example format: properties/1234

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

Returns
TypeDescription
ByteString

The bytes for parent.

public boolean hasGoogleAdsLink()

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the googleAdsLink field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateGoogleAdsLinkRequest other)

public CreateGoogleAdsLinkRequest.Builder mergeFrom(CreateGoogleAdsLinkRequest other)
Parameter
NameDescription
otherCreateGoogleAdsLinkRequest
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateGoogleAdsLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides
public CreateGoogleAdsLinkRequest.Builder mergeGoogleAdsLink(GoogleAdsLink value)

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueGoogleAdsLink
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateGoogleAdsLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateGoogleAdsLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides
public CreateGoogleAdsLinkRequest.Builder setGoogleAdsLink(GoogleAdsLink value)

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueGoogleAdsLink
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
public CreateGoogleAdsLinkRequest.Builder setGoogleAdsLink(GoogleAdsLink.Builder builderForValue)

Required. The GoogleAdsLink to create.

.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueGoogleAdsLink.Builder
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

setParent(String value)

public CreateGoogleAdsLinkRequest.Builder setParent(String value)

Required. Example format: properties/1234

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateGoogleAdsLinkRequest.Builder setParentBytes(ByteString value)

Required. Example format: properties/1234

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder

This builder for chaining.

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

public CreateGoogleAdsLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateGoogleAdsLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateGoogleAdsLinkRequest.Builder
Overrides