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()
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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ProjectTeam.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProjectTeam.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectTeam.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProjectTeam.Builder |
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 |
getDefaultInstanceForType()
public ProjectTeam getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProjectTeam |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProjectTeam.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ProjectTeam.Builder |
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 |
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 |
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 |
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 |