public static final class UpdateLineItemRequest.Builder extends GeneratedMessage.Builder<UpdateLineItemRequest.Builder> implements UpdateLineItemRequestOrBuilder Request object for UpdateLineItem method.
Protobuf type google.ads.admanager.v1.UpdateLineItemRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateLineItemRequest.BuilderImplements
UpdateLineItemRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateLineItemRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest |
|
buildPartial()
public UpdateLineItemRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest |
|
clear()
public UpdateLineItemRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
clearLineItem()
public UpdateLineItemRequest.Builder clearLineItem() Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
clearUpdateMask()
public UpdateLineItemRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
getDefaultInstanceForType()
public UpdateLineItemRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLineItem()
public LineItem getLineItem() Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LineItem |
The lineItem. |
getLineItemBuilder()
public LineItem.Builder getLineItemBuilder() Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LineItem.Builder |
|
getLineItemOrBuilder()
public LineItemOrBuilder getLineItemOrBuilder() Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LineItemOrBuilder |
|
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 |
|
hasLineItem()
public boolean hasLineItem() Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lineItem 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 |
|
mergeFrom(UpdateLineItemRequest other)
public UpdateLineItemRequest.Builder mergeFrom(UpdateLineItemRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateLineItemRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateLineItemRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateLineItemRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
mergeLineItem(LineItem value)
public UpdateLineItemRequest.Builder mergeLineItem(LineItem value) Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LineItem |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateLineItemRequest.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 |
UpdateLineItemRequest.Builder |
|
setLineItem(LineItem value)
public UpdateLineItemRequest.Builder setLineItem(LineItem value) Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LineItem |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
setLineItem(LineItem.Builder builderForValue)
public UpdateLineItemRequest.Builder setLineItem(LineItem.Builder builderForValue) Required. The LineItem to update.
The LineItem's name is used to identify the LineItem to update.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LineItem.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateLineItemRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateLineItemRequest.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 |
UpdateLineItemRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateLineItemRequest.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 |
UpdateLineItemRequest.Builder |
|