public static final class ProjectParameters.Builder extends GeneratedMessage.Builder<ProjectParameters.Builder> implements ProjectParametersOrBuilderThe ProjectParameters provides the parameters needed to deploy the application in the given project.
Protobuf type google.cloud.designcenter.v1.ProjectParameters
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProjectParameters.BuilderImplements
ProjectParametersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllApis(Iterable<String> values)
public ProjectParameters.Builder addAllApis(Iterable<String> values)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 |
values |
Iterable<String>The apis to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
addAllRoles(Iterable<String> values)
public ProjectParameters.Builder addAllRoles(Iterable<String> values)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 |
values |
Iterable<String>The roles to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
addApis(String value)
public ProjectParameters.Builder addApis(String value)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 |
value |
StringThe apis to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
addApisBytes(ByteString value)
public ProjectParameters.Builder addApisBytes(ByteString value)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 |
value |
ByteStringThe bytes of the apis to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
addRoles(String value)
public ProjectParameters.Builder addRoles(String value)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 |
value |
StringThe roles to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
addRolesBytes(ByteString value)
public ProjectParameters.Builder addRolesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the roles to add. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
build()
public ProjectParameters build()| Returns | |
|---|---|
| Type | Description |
ProjectParameters |
|
buildPartial()
public ProjectParameters buildPartial()| Returns | |
|---|---|
| Type | Description |
ProjectParameters |
|
clear()
public ProjectParameters.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
|
clearApis()
public ProjectParameters.Builder clearApis()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 |
ProjectParameters.Builder |
This builder for chaining. |
clearProjectId()
public ProjectParameters.Builder clearProjectId()Output only. The project ID of the project.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
clearRoles()
public ProjectParameters.Builder clearRoles()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 |
ProjectParameters.Builder |
This builder for chaining. |
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 |
intThe 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 |
intThe 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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProjectParameters other)
public ProjectParameters.Builder mergeFrom(ProjectParameters other)| Parameter | |
|---|---|
| Name | Description |
other |
ProjectParameters |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProjectParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProjectParameters.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
|
setApis(int index, String value)
public ProjectParameters.Builder setApis(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe apis to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
setProjectId(String value)
public ProjectParameters.Builder setProjectId(String value)Output only. The project ID of the project.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public ProjectParameters.Builder setProjectIdBytes(ByteString value)Output only. The project ID of the project.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |
setRoles(int index, String value)
public ProjectParameters.Builder setRoles(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe roles to set. |
| Returns | |
|---|---|
| Type | Description |
ProjectParameters.Builder |
This builder for chaining. |