Interface MarketplaceCommentOrBuilder (0.62.0)

public interface MarketplaceCommentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract String getComment()

Output only. The comment made on the Proposal.

optional string comment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Output only. The comment made on the Proposal.

optional string comment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for comment.

getCommenterRole()

public abstract MarketplaceComment.CommenterRole getCommenterRole()

Output only. The role of the user who created the comment.

optional .google.ads.admanager.v1.MarketplaceComment.CommenterRole commenter_role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MarketplaceComment.CommenterRole

The commenterRole.

getCommenterRoleValue()

public abstract int getCommenterRoleValue()

Output only. The role of the user who created the comment.

optional .google.ads.admanager.v1.MarketplaceComment.CommenterRole commenter_role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for commenterRole.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time at which the comment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the comment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getProposal()

public abstract String getProposal()

Output only. The resource name of the Proposal the comment belongs to. Format: networks/{network_code}/proposals/{proposal}

optional string proposal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The proposal.

getProposalBytes()

public abstract ByteString getProposalBytes()

Output only. The resource name of the Proposal the comment belongs to. Format: networks/{network_code}/proposals/{proposal}

optional string proposal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for proposal.

hasComment()

public abstract boolean hasComment()

Output only. The comment made on the Proposal.

optional string comment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the comment field is set.

hasCommenterRole()

public abstract boolean hasCommenterRole()

Output only. The role of the user who created the comment.

optional .google.ads.admanager.v1.MarketplaceComment.CommenterRole commenter_role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the commenterRole field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time at which the comment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProposal()

public abstract boolean hasProposal()

Output only. The resource name of the Proposal the comment belongs to. Format: networks/{network_code}/proposals/{proposal}

optional string proposal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the proposal field is set.