public static final class Program.Requirement extends GeneratedMessageV3 implements Program.RequirementOrBuilder
Defines a requirement specified for participation in the program.
Protobuf type google.shopping.merchant.accounts.v1beta.Program.Requirement
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
public static final int AFFECTED_REGION_CODES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DOCUMENTATION_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Program.Requirement getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Program.Requirement.Builder newBuilder()
public static Program.Requirement.Builder newBuilder(Program.Requirement prototype)
public static Program.Requirement parseDelimitedFrom(InputStream input)
public static Program.Requirement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Program.Requirement parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Program.Requirement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Program.Requirement parseFrom(ByteString data)
public static Program.Requirement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Program.Requirement parseFrom(CodedInputStream input)
public static Program.Requirement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Program.Requirement parseFrom(InputStream input)
public static Program.Requirement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Program.Requirement parseFrom(ByteBuffer data)
public static Program.Requirement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Program.Requirement> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getAffectedRegionCodes(int index)
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined by CLDR. This is
either a country where the program applies specifically to that country
or 001
when the program applies globally.
repeated string affected_region_codes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The affectedRegionCodes at the given index.
|
public ByteString getAffectedRegionCodesBytes(int index)
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined by CLDR. This is
either a country where the program applies specifically to that country
or 001
when the program applies globally.
repeated string affected_region_codes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the affectedRegionCodes at the given index.
|
public int getAffectedRegionCodesCount()
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined by CLDR. This is
either a country where the program applies specifically to that country
or 001
when the program applies globally.
repeated string affected_region_codes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The count of affectedRegionCodes.
|
public ProtocolStringList getAffectedRegionCodesList()
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined by CLDR. This is
either a country where the program applies specifically to that country
or 001
when the program applies globally.
repeated string affected_region_codes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Program.Requirement getDefaultInstanceForType()
public String getDocumentationUri()
Output only. The URL of a help page describing the requirement.
string documentation_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The documentationUri.
|
public ByteString getDocumentationUriBytes()
Output only. The URL of a help page describing the requirement.
string documentation_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for documentationUri.
|
public Parser<Program.Requirement> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Output only. Name of the requirement.
string title = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
Output only. Name of the requirement.
string title = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Program.Requirement.Builder newBuilderForType()
protected Program.Requirement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Program.Requirement.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides