Class ProjectTeam.Builder (2.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProjectTeam.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProjectTeam.Builder
Overrides

build()

public ProjectTeam build()
Returns
TypeDescription
ProjectTeam

buildPartial()

public ProjectTeam buildPartial()
Returns
TypeDescription
ProjectTeam

clear()

public ProjectTeam.Builder clear()
Returns
TypeDescription
ProjectTeam.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProjectTeam.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProjectTeam.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProjectTeam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProjectTeam.Builder
Overrides

clearProjectNumber()

public ProjectTeam.Builder clearProjectNumber()

The project number.

string project_number = 1;

Returns
TypeDescription
ProjectTeam.Builder

This builder for chaining.

clearTeam()

public ProjectTeam.Builder clearTeam()

The team.

string team = 2;

Returns
TypeDescription
ProjectTeam.Builder

This builder for chaining.

clone()

public ProjectTeam.Builder clone()
Returns
TypeDescription
ProjectTeam.Builder
Overrides

getDefaultInstanceForType()

public ProjectTeam getDefaultInstanceForType()
Returns
TypeDescription
ProjectTeam

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProjectNumber()

public String getProjectNumber()

The project number.

string project_number = 1;

Returns
TypeDescription
String

The projectNumber.

getProjectNumberBytes()

public ByteString getProjectNumberBytes()

The project number.

string project_number = 1;

Returns
TypeDescription
ByteString

The bytes for projectNumber.

getTeam()

public String getTeam()

The team.

string team = 2;

Returns
TypeDescription
String

The team.

getTeamBytes()

public ByteString getTeamBytes()

The team.

string team = 2;

Returns
TypeDescription
ByteString

The bytes for team.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProjectTeam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProjectTeam.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProjectTeam.Builder
Overrides

mergeFrom(ProjectTeam other)

public ProjectTeam.Builder mergeFrom(ProjectTeam other)
Parameter
NameDescription
otherProjectTeam
Returns
TypeDescription
ProjectTeam.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProjectTeam.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProjectTeam.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProjectTeam.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProjectTeam.Builder
Overrides

setProjectNumber(String value)

public ProjectTeam.Builder setProjectNumber(String value)

The project number.

string project_number = 1;

Parameter
NameDescription
valueString

The projectNumber to set.

Returns
TypeDescription
ProjectTeam.Builder

This builder for chaining.

setProjectNumberBytes(ByteString value)

public ProjectTeam.Builder setProjectNumberBytes(ByteString value)

The project number.

string project_number = 1;

Parameter
NameDescription
valueByteString

The bytes for projectNumber to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProjectTeam.Builder
Overrides

setTeam(String value)

public ProjectTeam.Builder setTeam(String value)

The team.

string team = 2;

Parameter
NameDescription
valueString

The team to set.

Returns
TypeDescription
ProjectTeam.Builder

This builder for chaining.

setTeamBytes(ByteString value)

public ProjectTeam.Builder setTeamBytes(ByteString value)

The team.

string team = 2;

Parameter
NameDescription
valueByteString

The bytes for team to set.

Returns
TypeDescription
ProjectTeam.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProjectTeam.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProjectTeam.Builder
Overrides