Class CreateMerchantCenterAccountLinkRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMerchantCenterAccountLinkRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMerchantCenterAccountLinkRequest.Builder>
      • getDefaultInstanceForType

        public CreateMerchantCenterAccountLinkRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateMerchantCenterAccountLinkRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateMerchantCenterAccountLinkRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMerchantCenterAccountLinkRequest.Builder>
      • getParent

        public String getParent()
         Required. The branch resource where this MerchantCenterAccountLink will be
         created. Format:
         projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateMerchantCenterAccountLinkRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The branch resource where this MerchantCenterAccountLink will be
         created. Format:
         projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateMerchantCenterAccountLinkRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateMerchantCenterAccountLinkRequest.Builder setParent​(String value)
         Required. The branch resource where this MerchantCenterAccountLink will be
         created. Format:
         projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateMerchantCenterAccountLinkRequest.Builder clearParent()
         Required. The branch resource where this MerchantCenterAccountLink will be
         created. Format:
         projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateMerchantCenterAccountLinkRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The branch resource where this MerchantCenterAccountLink will be
         created. Format:
         projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasMerchantCenterAccountLink

        public boolean hasMerchantCenterAccountLink()
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMerchantCenterAccountLink in interface CreateMerchantCenterAccountLinkRequestOrBuilder
        Returns:
        Whether the merchantCenterAccountLink field is set.
      • getMerchantCenterAccountLink

        public MerchantCenterAccountLink getMerchantCenterAccountLink()
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMerchantCenterAccountLink in interface CreateMerchantCenterAccountLinkRequestOrBuilder
        Returns:
        The merchantCenterAccountLink.
      • setMerchantCenterAccountLink

        public CreateMerchantCenterAccountLinkRequest.Builder setMerchantCenterAccountLink​(MerchantCenterAccountLink value)
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
      • setMerchantCenterAccountLink

        public CreateMerchantCenterAccountLinkRequest.Builder setMerchantCenterAccountLink​(MerchantCenterAccountLink.Builder builderForValue)
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeMerchantCenterAccountLink

        public CreateMerchantCenterAccountLinkRequest.Builder mergeMerchantCenterAccountLink​(MerchantCenterAccountLink value)
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearMerchantCenterAccountLink

        public CreateMerchantCenterAccountLinkRequest.Builder clearMerchantCenterAccountLink()
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
      • getMerchantCenterAccountLinkBuilder

        public MerchantCenterAccountLink.Builder getMerchantCenterAccountLinkBuilder()
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
      • getMerchantCenterAccountLinkOrBuilder

        public MerchantCenterAccountLinkOrBuilder getMerchantCenterAccountLinkOrBuilder()
         Required. The
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
         to create.
        
         If the caller does not have permission to create the
         [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink],
         regardless of whether or not it exists, a PERMISSION_DENIED error is
         returned.
         
        .google.cloud.retail.v2alpha.MerchantCenterAccountLink merchant_center_account_link = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMerchantCenterAccountLinkOrBuilder in interface CreateMerchantCenterAccountLinkRequestOrBuilder