Class ProductLinkInvitation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
- com.google.ads.googleads.v15.resources.ProductLinkInvitation.Builder
-
- All Implemented Interfaces:
ProductLinkInvitationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ProductLinkInvitation
public static final class ProductLinkInvitation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder> implements ProductLinkInvitationOrBuilder
Represents an invitation for data sharing connection between a Google Ads account and another account.
Protobuf typegoogle.ads.googleads.v15.resources.ProductLinkInvitation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
clear
public ProductLinkInvitation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
getDefaultInstanceForType
public ProductLinkInvitation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductLinkInvitation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductLinkInvitation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductLinkInvitation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
setField
public ProductLinkInvitation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
clearField
public ProductLinkInvitation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
clearOneof
public ProductLinkInvitation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
setRepeatedField
public ProductLinkInvitation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
addRepeatedField
public ProductLinkInvitation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
mergeFrom
public ProductLinkInvitation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductLinkInvitation.Builder>
-
mergeFrom
public ProductLinkInvitation.Builder mergeFrom(ProductLinkInvitation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
mergeFrom
public ProductLinkInvitation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductLinkInvitation.Builder>- Throws:
java.io.IOException
-
getInvitedAccountCase
public ProductLinkInvitation.InvitedAccountCase getInvitedAccountCase()
- Specified by:
getInvitedAccountCasein interfaceProductLinkInvitationOrBuilder
-
clearInvitedAccount
public ProductLinkInvitation.Builder clearInvitedAccount()
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form: `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceProductLinkInvitationOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form: `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceProductLinkInvitationOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public ProductLinkInvitation.Builder setResourceName(java.lang.String value)
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form: `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public ProductLinkInvitation.Builder clearResourceName()
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form: `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public ProductLinkInvitation.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form: `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getProductLinkInvitationId
public long getProductLinkInvitationId()
Output only. The ID of the product link invitation. This field is read only.
int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductLinkInvitationIdin interfaceProductLinkInvitationOrBuilder- Returns:
- The productLinkInvitationId.
-
setProductLinkInvitationId
public ProductLinkInvitation.Builder setProductLinkInvitationId(long value)
Output only. The ID of the product link invitation. This field is read only.
int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productLinkInvitationId to set.- Returns:
- This builder for chaining.
-
clearProductLinkInvitationId
public ProductLinkInvitation.Builder clearProductLinkInvitationId()
Output only. The ID of the product link invitation. This field is read only.
int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. The status of the product link invitation. This field is read only.
.google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceProductLinkInvitationOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public ProductLinkInvitation.Builder setStatusValue(int value)
Output only. The status of the product link invitation. This field is read only.
.google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus getStatus()
Output only. The status of the product link invitation. This field is read only.
.google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceProductLinkInvitationOrBuilder- Returns:
- The status.
-
setStatus
public ProductLinkInvitation.Builder setStatus(ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus value)
Output only. The status of the product link invitation. This field is read only.
.google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ProductLinkInvitation.Builder clearStatus()
Output only. The status of the product link invitation. This field is read only.
.google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}..google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceProductLinkInvitationOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ProductLinkInvitation.Builder setTypeValue(int value)
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}..google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public LinkedProductTypeEnum.LinkedProductType getType()
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}..google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceProductLinkInvitationOrBuilder- Returns:
- The type.
-
setType
public ProductLinkInvitation.Builder setType(LinkedProductTypeEnum.LinkedProductType value)
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}..google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ProductLinkInvitation.Builder clearType()
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}..google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasHotelCenter
public boolean hasHotelCenter()
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasHotelCenterin interfaceProductLinkInvitationOrBuilder- Returns:
- Whether the hotelCenter field is set.
-
getHotelCenter
public HotelCenterLinkInvitationIdentifier getHotelCenter()
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelCenterin interfaceProductLinkInvitationOrBuilder- Returns:
- The hotelCenter.
-
setHotelCenter
public ProductLinkInvitation.Builder setHotelCenter(HotelCenterLinkInvitationIdentifier value)
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setHotelCenter
public ProductLinkInvitation.Builder setHotelCenter(HotelCenterLinkInvitationIdentifier.Builder builderForValue)
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeHotelCenter
public ProductLinkInvitation.Builder mergeHotelCenter(HotelCenterLinkInvitationIdentifier value)
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearHotelCenter
public ProductLinkInvitation.Builder clearHotelCenter()
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getHotelCenterBuilder
public HotelCenterLinkInvitationIdentifier.Builder getHotelCenterBuilder()
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getHotelCenterOrBuilder
public HotelCenterLinkInvitationIdentifierOrBuilder getHotelCenterOrBuilder()
Output only. Hotel link invitation.
.google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelCenterOrBuilderin interfaceProductLinkInvitationOrBuilder
-
hasMerchantCenter
public boolean hasMerchantCenter()
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMerchantCenterin interfaceProductLinkInvitationOrBuilder- Returns:
- Whether the merchantCenter field is set.
-
getMerchantCenter
public MerchantCenterLinkInvitationIdentifier getMerchantCenter()
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMerchantCenterin interfaceProductLinkInvitationOrBuilder- Returns:
- The merchantCenter.
-
setMerchantCenter
public ProductLinkInvitation.Builder setMerchantCenter(MerchantCenterLinkInvitationIdentifier value)
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMerchantCenter
public ProductLinkInvitation.Builder setMerchantCenter(MerchantCenterLinkInvitationIdentifier.Builder builderForValue)
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeMerchantCenter
public ProductLinkInvitation.Builder mergeMerchantCenter(MerchantCenterLinkInvitationIdentifier value)
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMerchantCenter
public ProductLinkInvitation.Builder clearMerchantCenter()
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMerchantCenterBuilder
public MerchantCenterLinkInvitationIdentifier.Builder getMerchantCenterBuilder()
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMerchantCenterOrBuilder
public MerchantCenterLinkInvitationIdentifierOrBuilder getMerchantCenterOrBuilder()
Output only. Merchant Center link invitation.
.google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMerchantCenterOrBuilderin interfaceProductLinkInvitationOrBuilder
-
setUnknownFields
public final ProductLinkInvitation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
mergeUnknownFields
public final ProductLinkInvitation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductLinkInvitation.Builder>
-
-