public static final class ThirdPartyCompany.Builder extends GeneratedMessage.Builder<ThirdPartyCompany.Builder> implements ThirdPartyCompanyOrBuilderRepresents a third-party company recognized by Google Ad Manager, which can be an ad network, ad server, or video technology partner.
Protobuf type google.ads.admanager.v1.ThirdPartyCompany
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThirdPartyCompany.BuilderImplements
ThirdPartyCompanyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ThirdPartyCompany build()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany |
|
buildPartial()
public ThirdPartyCompany buildPartial()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany |
|
clear()
public ThirdPartyCompany.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
|
clearDisplayName()
public ThirdPartyCompany.Builder clearDisplayName()Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
clearName()
public ThirdPartyCompany.Builder clearName() Identifier. The resource name of the ThirdPartyCompany.
Format:
networks/{network_code}/thirdPartyCompanies/{third_party_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
clearStatus()
public ThirdPartyCompany.Builder clearStatus()Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
clearType()
public ThirdPartyCompany.Builder clearType()Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ThirdPartyCompany getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName() Identifier. The resource name of the ThirdPartyCompany.
Format:
networks/{network_code}/thirdPartyCompanies/{third_party_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the ThirdPartyCompany.
Format:
networks/{network_code}/thirdPartyCompanies/{third_party_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getStatus()
public ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus getStatus()Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus |
The status. |
getStatusValue()
public int getStatusValue()Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
getType()
public ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType getType()Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasDisplayName()
public boolean hasDisplayName()Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasStatus()
public boolean hasStatus()Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasType()
public boolean hasType()Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ThirdPartyCompany other)
public ThirdPartyCompany.Builder mergeFrom(ThirdPartyCompany other)| Parameter | |
|---|---|
| Name | Description |
other |
ThirdPartyCompany |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThirdPartyCompany.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThirdPartyCompany.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
|
setDisplayName(String value)
public ThirdPartyCompany.Builder setDisplayName(String value)Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ThirdPartyCompany.Builder setDisplayNameBytes(ByteString value)Output only. The display name of the ThirdPartyCompany. This field must be unique among all ThirdPartyCompanies for this network.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setName(String value)
public ThirdPartyCompany.Builder setName(String value) Identifier. The resource name of the ThirdPartyCompany.
Format:
networks/{network_code}/thirdPartyCompanies/{third_party_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ThirdPartyCompany.Builder setNameBytes(ByteString value) Identifier. The resource name of the ThirdPartyCompany.
Format:
networks/{network_code}/thirdPartyCompanies/{third_party_company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setStatus(ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus value)
public ThirdPartyCompany.Builder setStatus(ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus value)Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setStatusValue(int value)
public ThirdPartyCompany.Builder setStatusValue(int value)Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are set to inactive rather than deleting them.
optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setType(ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType value)
public ThirdPartyCompany.Builder setType(ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType value)Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ThirdPartyCompanyTypeEnum.ThirdPartyCompanyTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |
setTypeValue(int value)
public ThirdPartyCompany.Builder setTypeValue(int value)Output only. The type of the ThirdPartyCompany.
optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCompany.Builder |
This builder for chaining. |