public static final class Team.Builder extends GeneratedMessageV3.Builder<Team.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Team.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Team |
|
buildPartial()
public Team buildPartial()
Returns |
Type |
Description |
Team |
|
clear()
public Team.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Team.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Team.Builder clearName()
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 |
Team.Builder |
This builder for chaining.
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Team.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTeamId()
public Team.Builder clearTeamId()
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 |
Team.Builder |
This builder for chaining.
|
clone()
public Team.Builder clone()
Overrides
getDefaultInstanceForType()
public Team getDefaultInstanceForType()
Returns |
Type |
Description |
Team |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Team other)
public Team.Builder mergeFrom(Team other)
Parameter |
Name |
Description |
other |
Team
|
public Team.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Team.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Team.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Team.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Team.Builder setName(String value)
Identifier. The resource name of the Team
.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
String
The name to set.
|
Returns |
Type |
Description |
Team.Builder |
This builder for chaining.
|
setNameBytes(ByteString value)
public Team.Builder setNameBytes(ByteString value)
Identifier. The resource name of the Team
.
Format: networks/{network_code}/teams/{team_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns |
Type |
Description |
Team.Builder |
This builder for chaining.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Team.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTeamId(long value)
public Team.Builder setTeamId(long value)
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];
Parameter |
Name |
Description |
value |
long
The teamId to set.
|
Returns |
Type |
Description |
Team.Builder |
This builder for chaining.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Team.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides