Class CreatePrivateAuctionRequest.Builder (0.35.0)
public static final class CreatePrivateAuctionRequest.Builder extends GeneratedMessageV3.Builder<CreatePrivateAuctionRequest.Builder> implements CreatePrivateAuctionRequestOrBuilder
Request object for CreatePrivateAuction
method.
Protobuf type google.ads.admanager.v1.CreatePrivateAuctionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreatePrivateAuctionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreatePrivateAuctionRequest build()
buildPartial()
public CreatePrivateAuctionRequest buildPartial()
clear()
public CreatePrivateAuctionRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePrivateAuctionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePrivateAuctionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreatePrivateAuctionRequest.Builder clearParent()
Required. The parent resource where this PrivateAuction
will be
created. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearPrivateAuction()
public CreatePrivateAuctionRequest.Builder clearPrivateAuction()
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreatePrivateAuctionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreatePrivateAuctionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource where this PrivateAuction
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 PrivateAuction
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.
|
getPrivateAuction()
public PrivateAuction getPrivateAuction()
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
getPrivateAuctionBuilder()
public PrivateAuction.Builder getPrivateAuctionBuilder()
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
getPrivateAuctionOrBuilder()
public PrivateAuctionOrBuilder getPrivateAuctionOrBuilder()
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
hasPrivateAuction()
public boolean hasPrivateAuction()
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the privateAuction field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreatePrivateAuctionRequest other)
public CreatePrivateAuctionRequest.Builder mergeFrom(CreatePrivateAuctionRequest other)
public CreatePrivateAuctionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreatePrivateAuctionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePrivateAuction(PrivateAuction value)
public CreatePrivateAuctionRequest.Builder mergePrivateAuction(PrivateAuction value)
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePrivateAuctionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePrivateAuctionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreatePrivateAuctionRequest.Builder setParent(String value)
Required. The parent resource where this PrivateAuction
will be
created. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreatePrivateAuctionRequest.Builder setParentBytes(ByteString value)
Required. The parent resource where this PrivateAuction
will be
created. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setPrivateAuction(PrivateAuction value)
public CreatePrivateAuctionRequest.Builder setPrivateAuction(PrivateAuction value)
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
setPrivateAuction(PrivateAuction.Builder builderForValue)
public CreatePrivateAuctionRequest.Builder setPrivateAuction(PrivateAuction.Builder builderForValue)
Required. The PrivateAuction
to create.
.google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePrivateAuctionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePrivateAuctionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]