public final class PrivateAuction extends GeneratedMessageV3 implements PrivateAuctionOrBuilder
The PrivateAuction
resource.
Protobuf type google.ads.admanager.v1.PrivateAuction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARCHIVED_FIELD_NUMBER
public static final int ARCHIVED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRIVATE_AUCTION_ID_FIELD_NUMBER
public static final int PRIVATE_AUCTION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SELLER_CONTACT_USERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PrivateAuction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivateAuction.Builder newBuilder()
newBuilder(PrivateAuction prototype)
public static PrivateAuction.Builder newBuilder(PrivateAuction prototype)
public static PrivateAuction parseDelimitedFrom(InputStream input)
public static PrivateAuction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivateAuction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateAuction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivateAuction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateAuction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateAuction parseFrom(CodedInputStream input)
public static PrivateAuction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateAuction parseFrom(InputStream input)
public static PrivateAuction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PrivateAuction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateAuction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivateAuction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArchived()
public boolean getArchived()
Output only. Whether the PrivateAuction
is archived.
optional bool archived = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
The archived.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The instant at which the PrivateAuction was created.
optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The instant at which the PrivateAuction was created.
optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public PrivateAuction getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Description of the PrivateAuction
. This attribute has a
maximum length of 4096 bytes.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the PrivateAuction
. This attribute has a
maximum length of 4096 bytes.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Required. Display name of the PrivateAuction
. This attribute has a
maximum length of 255 bytes.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name of the PrivateAuction
. This attribute has a
maximum length of 255 bytes.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getName()
Identifier. The resource name of the PrivateAuction
.
Format:
networks/{network_code}/privateAuctions/{private_auction_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 PrivateAuction
.
Format:
networks/{network_code}/privateAuctions/{private_auction_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<PrivateAuction> getParserForType()
Overrides
getPrivateAuctionId()
public long getPrivateAuctionId()
Output only. PrivateAuction
ID.
optional int64 private_auction_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The privateAuctionId.
|
public String getSellerContactUsers(int index)
Optional. The resource names of the seller contact users associated with
this PrivateAuction
. Format: networks/{network_code}/users/{user_id}
repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The sellerContactUsers at the given index.
|
public ByteString getSellerContactUsersBytes(int index)
Optional. The resource names of the seller contact users associated with
this PrivateAuction
. Format: networks/{network_code}/users/{user_id}
repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the sellerContactUsers at the given index.
|
public int getSellerContactUsersCount()
Optional. The resource names of the seller contact users associated with
this PrivateAuction
. Format: networks/{network_code}/users/{user_id}
repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
int |
The count of sellerContactUsers.
|
public ProtocolStringList getSellerContactUsersList()
Optional. The resource names of the seller contact users associated with
this PrivateAuction
. Format: networks/{network_code}/users/{user_id}
repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The instant at which the PrivateAuction was last updated.
optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The instant at which the PrivateAuction was last updated.
optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasArchived()
public boolean hasArchived()
Output only. Whether the PrivateAuction
is archived.
optional bool archived = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the archived field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The instant at which the PrivateAuction was created.
optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasDescription()
public boolean hasDescription()
Optional. Description of the PrivateAuction
. This attribute has a
maximum length of 4096 bytes.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the description field is set.
|
hasDisplayName()
public boolean hasDisplayName()
Required. Display name of the PrivateAuction
. This attribute has a
maximum length of 255 bytes.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the displayName field is set.
|
hasPrivateAuctionId()
public boolean hasPrivateAuctionId()
Output only. PrivateAuction
ID.
optional int64 private_auction_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the privateAuctionId field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The instant at which the PrivateAuction was last updated.
optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PrivateAuction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivateAuction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PrivateAuction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides