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
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
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEAM_ID_FIELD_NUMBER
public static final int TEAM_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Team getDefaultInstance()
Returns |
Type |
Description |
Team |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Team.Builder newBuilder()
newBuilder(Team prototype)
public static Team.Builder newBuilder(Team prototype)
Parameter |
Name |
Description |
prototype |
Team
|
public static Team parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Team |
|
public static Team parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
parseFrom(byte[] data)
public static Team parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Team |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Team parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
parseFrom(ByteString data)
public static Team parseFrom(ByteString data)
Returns |
Type |
Description |
Team |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Team parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
public static Team parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Team |
|
public static Team parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
public static Team parseFrom(InputStream input)
Returns |
Type |
Description |
Team |
|
public static Team parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
parseFrom(ByteBuffer data)
public static Team parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Team |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Team parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Team |
|
parser()
public static Parser<Team> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Team getDefaultInstanceForType()
Returns |
Type |
Description |
Team |
|
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 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.
|
getParserForType()
public Parser<Team> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTeamId()
Output only. The unique ID of the Team. This value is assigned by Google.
Teams that are created by Google will have negative IDs.
int64 team_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The teamId.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Team.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Team.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Team.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides