public static final class AdPartner.Builder extends GeneratedMessageV3.Builder<AdPartner.Builder> implements AdPartnerOrBuilder
The AdPartner resource.
Protobuf type google.ads.admanager.v1.AdPartner
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdPartner.BuilderImplements
AdPartnerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdPartner.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
build()
public AdPartner build()
Returns | |
---|---|
Type | Description |
AdPartner |
buildPartial()
public AdPartner buildPartial()
Returns | |
---|---|
Type | Description |
AdPartner |
clear()
public AdPartner.Builder clear()
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
clearField(Descriptors.FieldDescriptor field)
public AdPartner.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
clearName()
public AdPartner.Builder clearName()
Identifier. The resource name of the AdPartner.
Format: networks/{network_code}/adPartners/{ad_partner_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AdPartner.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
clone()
public AdPartner.Builder clone()
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
getDefaultInstanceForType()
public AdPartner getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AdPartner |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Identifier. The resource name of the AdPartner.
Format: networks/{network_code}/adPartners/{ad_partner_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 AdPartner.
Format: networks/{network_code}/adPartners/{ad_partner_id}
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(AdPartner other)
public AdPartner.Builder mergeFrom(AdPartner other)
Parameter | |
---|---|
Name | Description |
other |
AdPartner |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdPartner.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AdPartner.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdPartner.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AdPartner.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
setName(String value)
public AdPartner.Builder setName(String value)
Identifier. The resource name of the AdPartner.
Format: networks/{network_code}/adPartners/{ad_partner_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AdPartner.Builder setNameBytes(ByteString value)
Identifier. The resource name of the AdPartner.
Format: networks/{network_code}/adPartners/{ad_partner_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdPartner.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdPartner.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdPartner.Builder |