public interface TeamOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAccessType()
public abstract TeamAccessTypeEnum.TeamAccessType getAccessType()Optional. The default access to orders for users on this team.
optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TeamAccessTypeEnum.TeamAccessType |
The accessType. |
getAccessTypeValue()
public abstract int getAccessTypeValue()Optional. The default access to orders for users on this team.
optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for accessType. |
getAllCompaniesAccess()
public abstract boolean getAllCompaniesAccess()Optional. Whether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
optional bool all_companies_access = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allCompaniesAccess. |
getAllInventoryAccess()
public abstract boolean getAllInventoryAccess()Optional. Whether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
optional bool all_inventory_access = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allInventoryAccess. |
getDescription()
public abstract String getDescription()Optional. The description of the Team. This value has a maximum length of 255 characters.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. The description of the Team. This value has a maximum length of 255 characters.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDisplayName()
public abstract String getDisplayName()Required. The name of the Team. This value has a maximum length of 127 characters.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Required. The name of the Team. This value has a maximum length of 127 characters.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public abstract String getName() Identifier. The resource name of the Team.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. The resource name of the Team.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getStatus()
public abstract TeamStatusEnum.TeamStatus getStatus()Output only. The status of the Team. This value determines the visibility of the team in the UI.
optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TeamStatusEnum.TeamStatus |
The status. |
getStatusValue()
public abstract int getStatusValue()Output only. The status of the Team. This value determines the visibility of the team in the UI.
optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hasAccessType()
public abstract boolean hasAccessType()Optional. The default access to orders for users on this team.
optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accessType field is set. |
hasAllCompaniesAccess()
public abstract boolean hasAllCompaniesAccess()Optional. Whether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
optional bool all_companies_access = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allCompaniesAccess field is set. |
hasAllInventoryAccess()
public abstract boolean hasAllInventoryAccess()Optional. Whether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
optional bool all_inventory_access = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allInventoryAccess field is set. |
hasDescription()
public abstract boolean hasDescription()Optional. The description of the Team. This value has a maximum length of 255 characters.
optional string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasDisplayName()
public abstract boolean hasDisplayName()Required. The name of the Team. This value has a maximum length of 127 characters.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasStatus()
public abstract boolean hasStatus()Output only. The status of the Team. This value determines the visibility of the team in the UI.
optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |