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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Team.BuilderImplements
TeamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Team.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Team.Builder |
build()
public Team build()
Returns | |
---|---|
Type | Description |
Team |
buildPartial()
public Team buildPartial()
Returns | |
---|---|
Type | Description |
Team |
clear()
public Team.Builder clear()
Returns | |
---|---|
Type | Description |
Team.Builder |
clearField(Descriptors.FieldDescriptor field)
public Team.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Team.Builder |
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)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Team.Builder |
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()
Returns | |
---|---|
Type | Description |
Team.Builder |
getDefaultInstanceForType()
public Team getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Team |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
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()
public long 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Team other)
public Team.Builder mergeFrom(Team other)
Parameter | |
---|---|
Name | Description |
other |
Team |
Returns | |
---|---|
Type | Description |
Team.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Team.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Team.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Team.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Team.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Team.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Team.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Team.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Team.Builder |
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Team.Builder |
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)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Team.Builder |