Interface TopicConstantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TopicConstant,TopicConstant.Builder
public interface TopicConstantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetId()Output only.java.lang.StringgetPath(int index)Output only.com.google.protobuf.ByteStringgetPathBytes(int index)Output only.intgetPathCount()Output only.java.util.List<java.lang.String>getPathList()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.java.lang.StringgetTopicConstantParent()Output only.com.google.protobuf.ByteStringgetTopicConstantParentBytes()Output only.booleanhasId()Output only.booleanhasTopicConstantParent()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Output only. The resource name of the topic constant. topic constant resource names have the form: `topicConstants/{topic_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the topic constant. topic constant resource names have the form: `topicConstants/{topic_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasId
boolean hasId()
Output only. The ID of the topic.
optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
long getId()
Output only. The ID of the topic.
optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
hasTopicConstantParent
boolean hasTopicConstantParent()
Output only. Resource name of parent of the topic constant.
optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- Whether the topicConstantParent field is set.
-
getTopicConstantParent
java.lang.String getTopicConstantParent()
Output only. Resource name of parent of the topic constant.
optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The topicConstantParent.
-
getTopicConstantParentBytes
com.google.protobuf.ByteString getTopicConstantParentBytes()
Output only. Resource name of parent of the topic constant.
optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for topicConstantParent.
-
getPathList
java.util.List<java.lang.String> getPathList()
Output only. The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs" category. List of available topic categories at https://developers.google.com/adwords/api/docs/appendix/verticalsrepeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the path.
-
getPathCount
int getPathCount()
Output only. The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs" category. List of available topic categories at https://developers.google.com/adwords/api/docs/appendix/verticalsrepeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of path.
-
getPath
java.lang.String getPath(int index)
Output only. The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs" category. List of available topic categories at https://developers.google.com/adwords/api/docs/appendix/verticalsrepeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes(int index)
Output only. The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs" category. List of available topic categories at https://developers.google.com/adwords/api/docs/appendix/verticalsrepeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-
-