Interface SharedSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SharedSet,SharedSet.Builder
public interface SharedSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Output only.longOutput only.getName()The name of this shared set.com.google.protobuf.ByteStringThe name of this shared set.longOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.getType()Immutable.intImmutable.booleanhasId()Output only.booleanOutput only.booleanhasName()The name of this shared set.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Immutable. The resource name of the shared set. Shared set resource names have the form: `customers/{customer_id}/sharedSets/{shared_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the shared set. Shared set resource names have the form: `customers/{customer_id}/sharedSets/{shared_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasId
boolean hasId()Output only. The ID of this shared set. Read only.
optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. The ID of this shared set. Read only.
optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getTypeValue
int getTypeValue()Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.
.google.ads.googleads.v18.enums.SharedSetTypeEnum.SharedSetType type = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for type.
-
getType
SharedSetTypeEnum.SharedSetType getType()Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.
.google.ads.googleads.v18.enums.SharedSetTypeEnum.SharedSetType type = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The type.
-
hasName
boolean hasName()The name of this shared set. Required. Shared Sets must have names that are unique among active shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 bytes, inclusive.
optional string name = 9;- Returns:
- Whether the name field is set.
-
getName
String getName()The name of this shared set. Required. Shared Sets must have names that are unique among active shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 bytes, inclusive.
optional string name = 9;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of this shared set. Required. Shared Sets must have names that are unique among active shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 bytes, inclusive.
optional string name = 9;- Returns:
- The bytes for name.
-
getStatusValue
int getStatusValue()Output only. The status of this shared set. Read only.
.google.ads.googleads.v18.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
SharedSetStatusEnum.SharedSetStatus getStatus()Output only. The status of this shared set. Read only.
.google.ads.googleads.v18.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasMemberCount
boolean hasMemberCount()Output only. The number of shared criteria within this shared set. Read only.
optional int64 member_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the memberCount field is set.
-
getMemberCount
long getMemberCount()Output only. The number of shared criteria within this shared set. Read only.
optional int64 member_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The memberCount.
-
hasReferenceCount
boolean hasReferenceCount()Output only. The number of campaigns associated with this shared set. Read only.
optional int64 reference_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the referenceCount field is set.
-
getReferenceCount
long getReferenceCount()Output only. The number of campaigns associated with this shared set. Read only.
optional int64 reference_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The referenceCount.
-