Class CreateGoogleAdsLinkRequest.Builder (0.46.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public CreateGoogleAdsLinkRequest build()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

buildPartial()

public CreateGoogleAdsLinkRequest buildPartial()
Returns
TypeDescription
CreateGoogleAdsLinkRequest

clear()

public CreateGoogleAdsLinkRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

Required. The GoogleAdsLink to create.

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateGoogleAdsLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateGoogleAdsLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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