Class ProjectTeam (2.22.5)

public final class ProjectTeam extends GeneratedMessageV3 implements ProjectTeamOrBuilder

Represents the Viewers, Editors, or Owners of a given project.

Protobuf type google.storage.v2.ProjectTeam

Static Fields

PROJECT_NUMBER_FIELD_NUMBER

public static final int PROJECT_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

TEAM_FIELD_NUMBER

public static final int TEAM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectTeam getDefaultInstance()
Returns
TypeDescription
ProjectTeam

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProjectTeam.Builder newBuilder()
Returns
TypeDescription
ProjectTeam.Builder

newBuilder(ProjectTeam prototype)

public static ProjectTeam.Builder newBuilder(ProjectTeam prototype)
Parameter
NameDescription
prototypeProjectTeam
Returns
TypeDescription
ProjectTeam.Builder

parseDelimitedFrom(InputStream input)

public static ProjectTeam parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProjectTeam parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectTeam parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectTeam parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProjectTeam parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProjectTeam parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectTeam parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectTeam
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProjectTeam> parser()
Returns
TypeDescription
Parser<ProjectTeam>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProjectTeam getDefaultInstanceForType()
Returns
TypeDescription
ProjectTeam

getParserForType()

public Parser<ProjectTeam> getParserForType()
Returns
TypeDescription
Parser<ProjectTeam>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProjectTeam.Builder newBuilderForType()
Returns
TypeDescription
ProjectTeam.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectTeam.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProjectTeam.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProjectTeam.Builder toBuilder()
Returns
TypeDescription
ProjectTeam.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException