public static final class CreateNativeStyleRequest.Builder extends GeneratedMessage.Builder<CreateNativeStyleRequest.Builder> implements CreateNativeStyleRequestOrBuilder Request object for CreateNativeStyle method.
Protobuf type google.ads.admanager.v1.CreateNativeStyleRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateNativeStyleRequest.BuilderImplements
CreateNativeStyleRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateNativeStyleRequest build()| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest |
|
buildPartial()
public CreateNativeStyleRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest |
|
clear()
public CreateNativeStyleRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
clearNativeStyle()
public CreateNativeStyleRequest.Builder clearNativeStyle() Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
clearParent()
public CreateNativeStyleRequest.Builder clearParent() Required. The parent resource where this NativeStyle will be created.
Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateNativeStyleRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNativeStyle()
public NativeStyle getNativeStyle() Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NativeStyle |
The nativeStyle. |
getNativeStyleBuilder()
public NativeStyle.Builder getNativeStyleBuilder() Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NativeStyle.Builder |
|
getNativeStyleOrBuilder()
public NativeStyleOrBuilder getNativeStyleOrBuilder() Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NativeStyleOrBuilder |
|
getParent()
public String getParent() Required. The parent resource where this NativeStyle will be created.
Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource where this NativeStyle will be created.
Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasNativeStyle()
public boolean hasNativeStyle() Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nativeStyle field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateNativeStyleRequest other)
public CreateNativeStyleRequest.Builder mergeFrom(CreateNativeStyleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateNativeStyleRequest |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateNativeStyleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateNativeStyleRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
mergeNativeStyle(NativeStyle value)
public CreateNativeStyleRequest.Builder mergeNativeStyle(NativeStyle value) Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NativeStyle |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
setNativeStyle(NativeStyle value)
public CreateNativeStyleRequest.Builder setNativeStyle(NativeStyle value) Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NativeStyle |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
setNativeStyle(NativeStyle.Builder builderForValue)
public CreateNativeStyleRequest.Builder setNativeStyle(NativeStyle.Builder builderForValue) Required. The NativeStyle to create.
.google.ads.admanager.v1.NativeStyle native_style = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NativeStyle.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
|
setParent(String value)
public CreateNativeStyleRequest.Builder setParent(String value) Required. The parent resource where this NativeStyle will be created.
Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateNativeStyleRequest.Builder setParentBytes(ByteString value) Required. The parent resource where this NativeStyle will be created.
Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateNativeStyleRequest.Builder |
This builder for chaining. |