Class CustomAttribute
A message that represents custom attributes. Exactly one of value
or
group_values
must not be empty.
Implements
Namespace: Google.Shopping.Type
Assembly: Google.Shopping.Type.dll
Syntax
public sealed class CustomAttribute : IMessage<CustomAttribute>, IEquatable<CustomAttribute>, IDeepCloneable<CustomAttribute>, IBufferMessage, IMessage
Constructors
CustomAttribute()
Declaration
public CustomAttribute()
CustomAttribute(CustomAttribute)
Declaration
public CustomAttribute(CustomAttribute other)
Parameters
Type | Name | Description |
---|---|---|
CustomAttribute | other |
Properties
GroupValues
Subattributes within this attribute group. If
group_values
is not empty, value
must be empty.
Declaration
public RepeatedField<CustomAttribute> GroupValues { get; }
Property Value
Type | Description |
---|---|
RepeatedField<CustomAttribute> |
HasName
Gets whether the "name" field is set
Declaration
public bool HasName { get; }
Property Value
Type | Description |
---|---|
bool |
HasValue
Gets whether the "value" field is set
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
Name
The name of the attribute.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
The value of the attribute. If value
is not empty, group_values
must be
empty.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |