Class ProjectTeam.Builder (2.19.0)

public static final class ProjectTeam.Builder extends GeneratedMessageV3.Builder<ProjectTeam.Builder> implements ProjectTeamOrBuilder

Represents the Viewers, Editors, or Owners of a given project.

Protobuf type google.storage.v2.ProjectTeam

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProjectTeam.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProjectTeam.Builder
Overrides

build()

public ProjectTeam build()
Returns
Type Description
ProjectTeam

buildPartial()

public ProjectTeam buildPartial()
Returns
Type Description
ProjectTeam

clear()

public ProjectTeam.Builder clear()
Returns
Type Description
ProjectTeam.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProjectTeam.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProjectTeam.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProjectTeam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProjectTeam.Builder
Overrides

clearProjectNumber()

public ProjectTeam.Builder clearProjectNumber()

The project number.

string project_number = 1;

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

clearTeam()

public ProjectTeam.Builder clearTeam()

The team.

string team = 2;

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

clone()

public ProjectTeam.Builder clone()
Returns
Type Description
ProjectTeam.Builder
Overrides

getDefaultInstanceForType()

public ProjectTeam getDefaultInstanceForType()
Returns
Type Description
ProjectTeam

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProjectNumber()

public String getProjectNumber()

The project number.

string project_number = 1;

Returns
Type Description
String

The projectNumber.

getProjectNumberBytes()

public ByteString getProjectNumberBytes()

The project number.

string project_number = 1;

Returns
Type Description
ByteString

The bytes for projectNumber.

getTeam()

public String getTeam()

The team.

string team = 2;

Returns
Type Description
String

The team.

getTeamBytes()

public ByteString getTeamBytes()

The team.

string team = 2;

Returns
Type Description
ByteString

The bytes for team.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProjectTeam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectTeam.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProjectTeam.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProjectTeam.Builder
Overrides

mergeFrom(ProjectTeam other)

public ProjectTeam.Builder mergeFrom(ProjectTeam other)
Parameter
Name Description
other ProjectTeam
Returns
Type Description
ProjectTeam.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProjectTeam.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProjectTeam.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProjectTeam.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProjectTeam.Builder
Overrides

setProjectNumber(String value)

public ProjectTeam.Builder setProjectNumber(String value)

The project number.

string project_number = 1;

Parameter
Name Description
value String

The projectNumber to set.

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

setProjectNumberBytes(ByteString value)

public ProjectTeam.Builder setProjectNumberBytes(ByteString value)

The project number.

string project_number = 1;

Parameter
Name Description
value ByteString

The bytes for projectNumber to set.

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProjectTeam.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProjectTeam.Builder
Overrides

setTeam(String value)

public ProjectTeam.Builder setTeam(String value)

The team.

string team = 2;

Parameter
Name Description
value String

The team to set.

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

setTeamBytes(ByteString value)

public ProjectTeam.Builder setTeamBytes(ByteString value)

The team.

string team = 2;

Parameter
Name Description
value ByteString

The bytes for team to set.

Returns
Type Description
ProjectTeam.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProjectTeam.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProjectTeam.Builder
Overrides