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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectTeam.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProjectTeam build()
Returns
buildPartial()
public ProjectTeam buildPartial()
Returns
clear()
public ProjectTeam.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProjectTeam.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectTeam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProjectNumber()
public ProjectTeam.Builder clearProjectNumber()
The project number.
string project_number = 1;
Returns
clearTeam()
public ProjectTeam.Builder clearTeam()
The team.
string team = 2;
Returns
clone()
public ProjectTeam.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProjectTeam getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
The team.
string team = 2;
Returns
Type |
Description |
String |
The team.
|
getTeamBytes()
public ByteString getTeamBytes()
The team.
string team = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ProjectTeam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProjectTeam.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ProjectTeam other)
public ProjectTeam.Builder mergeFrom(ProjectTeam other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectTeam.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectTeam.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectTeam.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectTeam.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides