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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleAdsLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateGoogleAdsLinkRequest build()
Returns
buildPartial()
public CreateGoogleAdsLinkRequest buildPartial()
Returns
clear()
public CreateGoogleAdsLinkRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGoogleAdsLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGoogleAdsLink()
public CreateGoogleAdsLinkRequest.Builder clearGoogleAdsLink()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGoogleAdsLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateGoogleAdsLinkRequest.Builder clearParent()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateGoogleAdsLinkRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateGoogleAdsLinkRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGoogleAdsLink()
public GoogleAdsLink getGoogleAdsLink()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
getGoogleAdsLinkOrBuilder()
public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
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
hasGoogleAdsLink()
public boolean hasGoogleAdsLink()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the googleAdsLink field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateGoogleAdsLinkRequest other)
public CreateGoogleAdsLinkRequest.Builder mergeFrom(CreateGoogleAdsLinkRequest other)
Parameter
Returns
public CreateGoogleAdsLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGoogleAdsLink(GoogleAdsLink value)
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleAdsLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleAdsLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGoogleAdsLink(GoogleAdsLink value)
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
Returns
setGoogleAdsLink(GoogleAdsLink.Builder builderForValue)
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
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGoogleAdsLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleAdsLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides