Interface ServiceOrBuilder (0.5.0)

public interface ServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentRequirement()

public abstract Service.DocumentRequirement getDocumentRequirement()

Output only. Document requirement for private offers on this service.

Constraints that apply to every service, such as the restriction against attaching both a standard and a custom EULA, are documented on PrivateOfferDocument and are not represented here.

.google.cloud.commerceproducer.v1beta.Service.DocumentRequirement document_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Service.DocumentRequirement

The documentRequirement.

getDocumentRequirementOrBuilder()

public abstract Service.DocumentRequirementOrBuilder getDocumentRequirementOrBuilder()

Output only. Document requirement for private offers on this service.

Constraints that apply to every service, such as the restriction against attaching both a standard and a custom EULA, are documented on PrivateOfferDocument and are not represented here.

.google.cloud.commerceproducer.v1beta.Service.DocumentRequirement document_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Service.DocumentRequirementOrBuilder

getName()

public abstract String getName()

Identifier. Name of resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getProductType()

public abstract Service.ProductType getProductType()

Output only. Type of the product this service commercializes.

.google.cloud.commerceproducer.v1beta.Service.ProductType product_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Service.ProductType

The productType.

getProductTypeValue()

public abstract int getProductTypeValue()

Output only. Type of the product this service commercializes.

.google.cloud.commerceproducer.v1beta.Service.ProductType product_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for productType.

getTitle()

public abstract String getTitle()

Output only. Title of the service.

Not included for SERVICE_VIEW_BASIC.

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

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Output only. Title of the service.

Not included for SERVICE_VIEW_BASIC.

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

Returns
Type Description
ByteString

The bytes for title.

hasDocumentRequirement()

public abstract boolean hasDocumentRequirement()

Output only. Document requirement for private offers on this service.

Constraints that apply to every service, such as the restriction against attaching both a standard and a custom EULA, are documented on PrivateOfferDocument and are not represented here.

.google.cloud.commerceproducer.v1beta.Service.DocumentRequirement document_requirement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the documentRequirement field is set.