public static final class CreateAdSenseLinkRequest.Builder extends GeneratedMessageV3.Builder<CreateAdSenseLinkRequest.Builder> implements CreateAdSenseLinkRequestOrBuilder
Request message to be passed to CreateAdSenseLink method.
Protobuf type google.analytics.admin.v1alpha.CreateAdSenseLinkRequest
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAdSenseLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateAdSenseLinkRequest build()
buildPartial()
public CreateAdSenseLinkRequest buildPartial()
clear()
public CreateAdSenseLinkRequest.Builder clear()
Overrides
clearAdsenseLink()
public CreateAdSenseLinkRequest.Builder clearAdsenseLink()
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateAdSenseLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAdSenseLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateAdSenseLinkRequest.Builder clearParent()
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId}
Example: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateAdSenseLinkRequest.Builder clone()
Overrides
getAdsenseLink()
public AdSenseLink getAdsenseLink()
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
getAdsenseLinkBuilder()
public AdSenseLink.Builder getAdsenseLinkBuilder()
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
getAdsenseLinkOrBuilder()
public AdSenseLinkOrBuilder getAdsenseLinkOrBuilder()
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateAdSenseLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId}
Example: 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. The property for which to create an AdSense Link.
Format: properties/{propertyId}
Example: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasAdsenseLink()
public boolean hasAdsenseLink()
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the adsenseLink field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAdsenseLink(AdSenseLink value)
public CreateAdSenseLinkRequest.Builder mergeAdsenseLink(AdSenseLink value)
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateAdSenseLinkRequest other)
public CreateAdSenseLinkRequest.Builder mergeFrom(CreateAdSenseLinkRequest other)
public CreateAdSenseLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateAdSenseLinkRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAdSenseLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAdsenseLink(AdSenseLink value)
public CreateAdSenseLinkRequest.Builder setAdsenseLink(AdSenseLink value)
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
setAdsenseLink(AdSenseLink.Builder builderForValue)
public CreateAdSenseLinkRequest.Builder setAdsenseLink(AdSenseLink.Builder builderForValue)
Required. The AdSense Link to create
.google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAdSenseLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateAdSenseLinkRequest.Builder setParent(String value)
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId}
Example: 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 CreateAdSenseLinkRequest.Builder setParentBytes(ByteString value)
Required. The property for which to create an AdSense Link.
Format: properties/{propertyId}
Example: 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 CreateAdSenseLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAdSenseLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides