Class RolesAndApisConfig (0.3.0)

public final class RolesAndApisConfig extends GeneratedMessage implements RolesAndApisConfigOrBuilder

Represents configurations required within a specific project to deploy the application.

Protobuf type google.cloud.designcenter.v1.RolesAndApisConfig

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 RolesAndApisConfig getDefaultInstance()
Returns
Type Description
RolesAndApisConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RolesAndApisConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApis(int index)

public ApiInfo getApis(int index)

Optional. APIs that you must enable in this project before you deploy the application, in the form of "*.googleapis.com". The maximum number of APIs allowed is 500.

repeated .google.cloud.designcenter.v1.ApiInfo apis = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ApiInfo

getApisCount()

public int getApisCount()

Optional. APIs that you must enable in this project before you deploy the application, in the form of "*.googleapis.com". The maximum number of APIs allowed is 500.

repeated .google.cloud.designcenter.v1.ApiInfo apis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getApisList()

public List<ApiInfo> getApisList()

Optional. APIs that you must enable in this project before you deploy the application, in the form of "*.googleapis.com". The maximum number of APIs allowed is 500.

repeated .google.cloud.designcenter.v1.ApiInfo apis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ApiInfo>

getApisOrBuilder(int index)

public ApiInfoOrBuilder getApisOrBuilder(int index)

Optional. APIs that you must enable in this project before you deploy the application, in the form of "*.googleapis.com". The maximum number of APIs allowed is 500.

repeated .google.cloud.designcenter.v1.ApiInfo apis = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ApiInfoOrBuilder

getApisOrBuilderList()

public List<? extends ApiInfoOrBuilder> getApisOrBuilderList()

Optional. APIs that you must enable in this project before you deploy the application, in the form of "*.googleapis.com". The maximum number of APIs allowed is 500.

repeated .google.cloud.designcenter.v1.ApiInfo apis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ApiInfoOrBuilder>

getDefaultInstanceForType()

public RolesAndApisConfig getDefaultInstanceForType()
Returns
Type Description
RolesAndApisConfig

getParserForType()

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

getProjectId()

public String getProjectId()

Required. The project ID to which these configurations apply.

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

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The project ID to which these configurations apply.

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

Returns
Type Description
ByteString

The bytes for projectId.

getRoles(int index)

public RoleInfo getRoles(int index)

Optional. IAM roles that the deployment service account needs to deploy the application within this project. Each role must be a valid IAM role name, such as roles/editor. The maximum number of roles allowed is 500.

repeated .google.cloud.designcenter.v1.RoleInfo roles = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RoleInfo

getRolesCount()

public int getRolesCount()

Optional. IAM roles that the deployment service account needs to deploy the application within this project. Each role must be a valid IAM role name, such as roles/editor. The maximum number of roles allowed is 500.

repeated .google.cloud.designcenter.v1.RoleInfo roles = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getRolesList()

public List<RoleInfo> getRolesList()

Optional. IAM roles that the deployment service account needs to deploy the application within this project. Each role must be a valid IAM role name, such as roles/editor. The maximum number of roles allowed is 500.

repeated .google.cloud.designcenter.v1.RoleInfo roles = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RoleInfo>

getRolesOrBuilder(int index)

public RoleInfoOrBuilder getRolesOrBuilder(int index)

Optional. IAM roles that the deployment service account needs to deploy the application within this project. Each role must be a valid IAM role name, such as roles/editor. The maximum number of roles allowed is 500.

repeated .google.cloud.designcenter.v1.RoleInfo roles = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RoleInfoOrBuilder

getRolesOrBuilderList()

public List<? extends RoleInfoOrBuilder> getRolesOrBuilderList()

Optional. IAM roles that the deployment service account needs to deploy the application within this project. Each role must be a valid IAM role name, such as roles/editor. The maximum number of roles allowed is 500.

repeated .google.cloud.designcenter.v1.RoleInfo roles = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.RoleInfoOrBuilder>

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 RolesAndApisConfig.Builder newBuilderForType()
Returns
Type Description
RolesAndApisConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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