Class ProjectParameters (0.3.0)

public final class ProjectParameters extends GeneratedMessage implements ProjectParametersOrBuilder

The ProjectParameters provides the parameters needed to deploy the application in the given project.

Protobuf type google.cloud.designcenter.v1.ProjectParameters

Static Fields

APIS_FIELD_NUMBER

public static final int APIS_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

ROLES_FIELD_NUMBER

public static final int ROLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProjectParameters getDefaultInstance()
Returns
Type Description
ProjectParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProjectParameters.Builder newBuilder()
Returns
Type Description
ProjectParameters.Builder

newBuilder(ProjectParameters prototype)

public static ProjectParameters.Builder newBuilder(ProjectParameters prototype)
Parameter
Name Description
prototype ProjectParameters
Returns
Type Description
ProjectParameters.Builder

parseDelimitedFrom(InputStream input)

public static ProjectParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProjectParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProjectParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProjectParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProjectParameters> parser()
Returns
Type Description
Parser<ProjectParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApis(int index)

public String getApis(int index)

Output only. APIs required to be enabled to deploy the application, in the form of "*.googleapis.com".

repeated string apis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The apis at the given index.

getApisBytes(int index)

public ByteString getApisBytes(int index)

Output only. APIs required to be enabled to deploy the application, in the form of "*.googleapis.com".

repeated string apis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the apis at the given index.

getApisCount()

public int getApisCount()

Output only. APIs required to be enabled to deploy the application, in the form of "*.googleapis.com".

repeated string apis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of apis.

getApisList()

public ProtocolStringList getApisList()

Output only. APIs required to be enabled to deploy the application, in the form of "*.googleapis.com".

repeated string apis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the apis.

getDefaultInstanceForType()

public ProjectParameters getDefaultInstanceForType()
Returns
Type Description
ProjectParameters

getParserForType()

public Parser<ProjectParameters> getParserForType()
Returns
Type Description
Parser<ProjectParameters>
Overrides

getProjectId()

public String getProjectId()

Output only. The project ID of the project.

string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Output only. The project ID of the project.

string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for projectId.

getRoles(int index)

public String getRoles(int index)

Output only. IAM roles required by the service account to deploy the application in given project.

repeated string roles = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The roles at the given index.

getRolesBytes(int index)

public ByteString getRolesBytes(int index)

Output only. IAM roles required by the service account to deploy the application in given project.

repeated string roles = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the roles at the given index.

getRolesCount()

public int getRolesCount()

Output only. IAM roles required by the service account to deploy the application in given project.

repeated string roles = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of roles.

getRolesList()

public ProtocolStringList getRolesList()

Output only. IAM roles required by the service account to deploy the application in given project.

repeated string roles = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the roles.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProjectParameters.Builder newBuilderForType()
Returns
Type Description
ProjectParameters.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProjectParameters.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProjectParameters.Builder
Overrides

toBuilder()

public ProjectParameters.Builder toBuilder()
Returns
Type Description
ProjectParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException