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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProjectTeam.BuilderImplements
ProjectTeamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectTeam.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ProjectTeam.Builder |
build()
public ProjectTeam build()
Type | Description |
ProjectTeam |
buildPartial()
public ProjectTeam buildPartial()
Type | Description |
ProjectTeam |
clear()
public ProjectTeam.Builder clear()
Type | Description |
ProjectTeam.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProjectTeam.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ProjectTeam.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectTeam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ProjectTeam.Builder |
clearProjectNumber()
public ProjectTeam.Builder clearProjectNumber()
The project number.
string project_number = 1;
Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
clearTeam()
public ProjectTeam.Builder clearTeam()
The team.
string team = 2;
Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
clone()
public ProjectTeam.Builder clone()
Type | Description |
ProjectTeam.Builder |
getDefaultInstanceForType()
public ProjectTeam getDefaultInstanceForType()
Type | Description |
ProjectTeam |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProjectNumber()
public String getProjectNumber()
The project number.
string project_number = 1;
Type | Description |
String |
The projectNumber. |
getProjectNumberBytes()
public ByteString getProjectNumberBytes()
The project number.
string project_number = 1;
Type | Description |
ByteString |
The bytes for projectNumber. |
getTeam()
public String getTeam()
The team.
string team = 2;
Type | Description |
String |
The team. |
getTeamBytes()
public ByteString getTeamBytes()
The team.
string team = 2;
Type | Description |
ByteString |
The bytes for team. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProjectTeam.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ProjectTeam.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProjectTeam.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ProjectTeam.Builder |
mergeFrom(ProjectTeam other)
public ProjectTeam.Builder mergeFrom(ProjectTeam other)
Name | Description |
other |
ProjectTeam |
Type | Description |
ProjectTeam.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectTeam.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ProjectTeam.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectTeam.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ProjectTeam.Builder |
setProjectNumber(String value)
public ProjectTeam.Builder setProjectNumber(String value)
The project number.
string project_number = 1;
Name | Description |
value |
String The projectNumber to set. |
Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setProjectNumberBytes(ByteString value)
public ProjectTeam.Builder setProjectNumberBytes(ByteString value)
The project number.
string project_number = 1;
Name | Description |
value |
ByteString The bytes for projectNumber to set. |
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)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ProjectTeam.Builder |
setTeam(String value)
public ProjectTeam.Builder setTeam(String value)
The team.
string team = 2;
Name | Description |
value |
String The team to set. |
Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setTeamBytes(ByteString value)
public ProjectTeam.Builder setTeamBytes(ByteString value)
The team.
string team = 2;
Name | Description |
value |
ByteString The bytes for team to set. |
Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectTeam.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ProjectTeam.Builder |