public static final class DeveloperRegistration.Builder extends GeneratedMessageV3.Builder<DeveloperRegistration.Builder> implements DeveloperRegistrationOrBuilderRepresents a developer registration owned by a Merchant account.
Protobuf type google.shopping.merchant.accounts.v1.DeveloperRegistration
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeveloperRegistration.BuilderImplements
DeveloperRegistrationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGcpIds(Iterable<String> values)
public DeveloperRegistration.Builder addAllGcpIds(Iterable<String> values)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The gcpIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
addGcpIds(String value)
public DeveloperRegistration.Builder addGcpIds(String value)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcpIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
addGcpIdsBytes(ByteString value)
public DeveloperRegistration.Builder addGcpIdsBytes(ByteString value)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the gcpIds to add. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeveloperRegistration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
build()
public DeveloperRegistration build()| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration |
|
buildPartial()
public DeveloperRegistration buildPartial()| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration |
|
clear()
public DeveloperRegistration.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DeveloperRegistration.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
clearGcpIds()
public DeveloperRegistration.Builder clearGcpIds()Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
clearName()
public DeveloperRegistration.Builder clearName() Identifier. The name (ID) of the developer registration. Generated by the
Content API upon creation of a new DeveloperRegistration. The account
represents the merchant ID of the merchant that owns the registration.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeveloperRegistration.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
clone()
public DeveloperRegistration.Builder clone()| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
getDefaultInstanceForType()
public DeveloperRegistration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcpIds(int index)
public String getGcpIds(int index)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The gcpIds at the given index. |
getGcpIdsBytes(int index)
public ByteString getGcpIdsBytes(int index)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the gcpIds at the given index. |
getGcpIdsCount()
public int getGcpIdsCount()Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of gcpIds. |
getGcpIdsList()
public ProtocolStringList getGcpIdsList()Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the gcpIds. |
getName()
public String getName() Identifier. The name (ID) of the developer registration. Generated by the
Content API upon creation of a new DeveloperRegistration. The account
represents the merchant ID of the merchant that owns the registration.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The name (ID) of the developer registration. Generated by the
Content API upon creation of a new DeveloperRegistration. The account
represents the merchant ID of the merchant that owns the registration.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeveloperRegistration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeveloperRegistration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
mergeFrom(DeveloperRegistration other)
public DeveloperRegistration.Builder mergeFrom(DeveloperRegistration other)| Parameter | |
|---|---|
| Name | Description |
other |
DeveloperRegistration |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeveloperRegistration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DeveloperRegistration.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
setGcpIds(int index, String value)
public DeveloperRegistration.Builder setGcpIds(int index, String value)Output only. The GCP ids attached to this developer registration
repeated string gcp_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe gcpIds to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
setName(String value)
public DeveloperRegistration.Builder setName(String value) Identifier. The name (ID) of the developer registration. Generated by the
Content API upon creation of a new DeveloperRegistration. The account
represents the merchant ID of the merchant that owns the registration.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeveloperRegistration.Builder setNameBytes(ByteString value) Identifier. The name (ID) of the developer registration. Generated by the
Content API upon creation of a new DeveloperRegistration. The account
represents the merchant ID of the merchant that owns the registration.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeveloperRegistration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DeveloperRegistration.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration.Builder |
|