public static final class ProjectTeam.Builder extends GeneratedMessage.Builder<ProjectTeam.Builder> implements ProjectTeamOrBuilderRepresents the Viewers, Editors, or Owners of a given project.
Protobuf type google.storage.v2.ProjectTeam
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProjectTeam.BuilderImplements
ProjectTeamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearProjectNumber()
public ProjectTeam.Builder clearProjectNumber()Optional. The project number.
string project_number = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
clearTeam()
public ProjectTeam.Builder clearTeam()Optional. The team.
string team = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ProjectTeam getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProjectTeam |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProjectNumber()
public String getProjectNumber()Optional. The project number.
string project_number = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The projectNumber. |
getProjectNumberBytes()
public ByteString getProjectNumberBytes()Optional. The project number.
string project_number = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectNumber. |
getTeam()
public String getTeam()Optional. The team.
string team = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The team. |
getTeamBytes()
public ByteString getTeamBytes()Optional. The team.
string team = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for team. |
internalGetFieldAccessorTable()
protected GeneratedMessage.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 |
|
setProjectNumber(String value)
public ProjectTeam.Builder setProjectNumber(String value)Optional. The project number.
string project_number = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setProjectNumberBytes(ByteString value)
public ProjectTeam.Builder setProjectNumberBytes(ByteString value)Optional. The project number.
string project_number = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setTeam(String value)
public ProjectTeam.Builder setTeam(String value)Optional. The team.
string team = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe team to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |
setTeamBytes(ByteString value)
public ProjectTeam.Builder setTeamBytes(ByteString value)Optional. The team.
string team = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for team to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectTeam.Builder |
This builder for chaining. |