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.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleAdsLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGoogleAdsLinkRequest build()
buildPartial()
public CreateGoogleAdsLinkRequest buildPartial()
clear()
public CreateGoogleAdsLinkRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGoogleAdsLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGoogleAdsLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateGoogleAdsLinkRequest.Builder clearParent()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateGoogleAdsLinkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGoogleAdsLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGoogleAdsLink()
public GoogleAdsLink getGoogleAdsLink()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
getGoogleAdsLinkBuilder()
public GoogleAdsLink.Builder getGoogleAdsLinkBuilder()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
getGoogleAdsLinkOrBuilder()
public GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder()
Required. The GoogleAdsLink to create.
.google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGoogleAdsLinkRequest other)
public CreateGoogleAdsLinkRequest.Builder mergeFrom(CreateGoogleAdsLinkRequest other)
public CreateGoogleAdsLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGoogleAdsLinkRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleAdsLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGoogleAdsLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGoogleAdsLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGoogleAdsLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides