public static final class ProposeAccountServiceRequest.Builder extends GeneratedMessageV3.Builder<ProposeAccountServiceRequest.Builder> implements ProposeAccountServiceRequestOrBuilder
Request to propose an account service.
Protobuf type google.shopping.merchant.accounts.v1.ProposeAccountServiceRequest
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ProposeAccountServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ProposeAccountServiceRequest build()
public ProposeAccountServiceRequest buildPartial()
public ProposeAccountServiceRequest.Builder clear()
Overrides
public ProposeAccountServiceRequest.Builder clearAccountService()
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ProposeAccountServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ProposeAccountServiceRequest.Builder clearParent()
Required. The resource name of the parent account for the service.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ProposeAccountServiceRequest.Builder clearProvider()
Required. The provider of the service. Either the reference to an account
such as providers/123
or a well-known service provider (one of
providers/GOOGLE_ADS
or providers/GOOGLE_BUSINESS_PROFILE
).
string provider = 2 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest.Builder clone()
Overrides
public AccountService getAccountService()
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public AccountService.Builder getAccountServiceBuilder()
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public AccountServiceOrBuilder getAccountServiceOrBuilder()
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getParent()
Required. The resource name of the parent account for the service.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The resource name of the parent account for the service.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public String getProvider()
Required. The provider of the service. Either the reference to an account
such as providers/123
or a well-known service provider (one of
providers/GOOGLE_ADS
or providers/GOOGLE_BUSINESS_PROFILE
).
string provider = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The provider.
|
public ByteString getProviderBytes()
Required. The provider of the service. Either the reference to an account
such as providers/123
or a well-known service provider (one of
providers/GOOGLE_ADS
or providers/GOOGLE_BUSINESS_PROFILE
).
string provider = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for provider.
|
public boolean hasAccountService()
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the accountService field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProposeAccountServiceRequest.Builder mergeAccountService(AccountService value)
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ProposeAccountServiceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ProposeAccountServiceRequest.Builder mergeFrom(ProposeAccountServiceRequest other)
public final ProposeAccountServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ProposeAccountServiceRequest.Builder setAccountService(AccountService value)
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest.Builder setAccountService(AccountService.Builder builderForValue)
Required. The account service to propose.
.google.shopping.merchant.accounts.v1.AccountService account_service = 4 [(.google.api.field_behavior) = REQUIRED];
public ProposeAccountServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ProposeAccountServiceRequest.Builder setParent(String value)
Required. The resource name of the parent account for the service.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public ProposeAccountServiceRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the parent account for the service.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public ProposeAccountServiceRequest.Builder setProvider(String value)
Required. The provider of the service. Either the reference to an account
such as providers/123
or a well-known service provider (one of
providers/GOOGLE_ADS
or providers/GOOGLE_BUSINESS_PROFILE
).
string provider = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The provider to set.
|
public ProposeAccountServiceRequest.Builder setProviderBytes(ByteString value)
Required. The provider of the service. Either the reference to an account
such as providers/123
or a well-known service provider (one of
providers/GOOGLE_ADS
or providers/GOOGLE_BUSINESS_PROFILE
).
string provider = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for provider to set.
|
public ProposeAccountServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ProposeAccountServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides