public
final
class
Team
extends
GeneratedMessageV3
implements
TeamOrBuilder
A Team defines a grouping of users and what entities they have access to.
Protobuf type google.ads.admanager.v1.Team
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TeamImplements
TeamOrBuilderStatic Fields
ACCESS_TYPE_FIELD_NUMBER
public
static
final
int
ACCESS_TYPE_FIELD_NUMBER
ALL_COMPANIES_ACCESS_FIELD_NUMBER
public
static
final
int
ALL_COMPANIES_ACCESS_FIELD_NUMBER
ALL_INVENTORY_ACCESS_FIELD_NUMBER
public
static
final
int
ALL_INVENTORY_ACCESS_FIELD_NUMBER
DESCRIPTION_FIELD_NUMBER
public
static
final
int
DESCRIPTION_FIELD_NUMBER
DISPLAY_NAME_FIELD_NUMBER
public
static
final
int
DISPLAY_NAME_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
STATUS_FIELD_NUMBER
public
static
final
int
STATUS_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Team
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Team
.
Builder
newBuilder
()
newBuilder(Team prototype)
public
static
Team
.
Builder
newBuilder
(
Team
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Team
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Team
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Team
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Team
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Team
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Team
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Team
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Team>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAccessType()
public
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];
getAccessTypeValue()
public
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];
getAllCompaniesAccess()
public
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];
getAllInventoryAccess()
public
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];
getDefaultInstanceForType()
public
Team
getDefaultInstanceForType
()
getDescription()
public
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];
getDescriptionBytes()
public
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];
getDisplayName()
public
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];
getDisplayNameBytes()
public
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];
getName()
public
String
getName
()
Identifier. The resource name of the Team
.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getNameBytes()
public
ByteString
getNameBytes
()
Identifier. The resource name of the Team
.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getParserForType()
public
Parser<Team>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getStatus()
public
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];
getStatusValue()
public
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];
hasAccessType()
public
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];
hasAllCompaniesAccess()
public
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];
hasAllInventoryAccess()
public
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];
hasDescription()
public
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];
hasDisplayName()
public
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];
hasStatus()
public
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];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Team
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Team
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Team
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

