public static final class UpdateAdSpotRequest.Builder extends GeneratedMessage.Builder<UpdateAdSpotRequest.Builder> implements UpdateAdSpotRequestOrBuilder Request object for UpdateAdSpot method.
Protobuf type google.ads.admanager.v1.UpdateAdSpotRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAdSpotRequest.BuilderImplements
UpdateAdSpotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAdSpotRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest |
|
buildPartial()
public UpdateAdSpotRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest |
|
clear()
public UpdateAdSpotRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
clearAdSpot()
public UpdateAdSpotRequest.Builder clearAdSpot() Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
clearUpdateMask()
public UpdateAdSpotRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
getAdSpot()
public AdSpot getAdSpot() Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdSpot |
The adSpot. |
getAdSpotBuilder()
public AdSpot.Builder getAdSpotBuilder() Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdSpot.Builder |
|
getAdSpotOrBuilder()
public AdSpotOrBuilder getAdSpotOrBuilder() Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdSpotOrBuilder |
|
getDefaultInstanceForType()
public UpdateAdSpotRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAdSpot()
public boolean hasAdSpot() Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSpot field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdSpot(AdSpot value)
public UpdateAdSpotRequest.Builder mergeAdSpot(AdSpot value) Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AdSpot |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
mergeFrom(UpdateAdSpotRequest other)
public UpdateAdSpotRequest.Builder mergeFrom(UpdateAdSpotRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAdSpotRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAdSpotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAdSpotRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAdSpotRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
setAdSpot(AdSpot value)
public UpdateAdSpotRequest.Builder setAdSpot(AdSpot value) Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AdSpot |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
setAdSpot(AdSpot.Builder builderForValue)
public UpdateAdSpotRequest.Builder setAdSpot(AdSpot.Builder builderForValue) Required. The AdSpot to update.
The AdSpot's name is used to identify the AdSpot to update.
.google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AdSpot.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateAdSpotRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAdSpotRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAdSpotRequest.Builder |
|