public static final class ConfigureAndDeployTemplateRequest.Builder extends GeneratedMessage.Builder<ConfigureAndDeployTemplateRequest.Builder> implements ConfigureAndDeployTemplateRequestOrBuilderRequest message for ConfigureAndDeployTemplate.
Protobuf type google.cloud.designcenter.v1.ConfigureAndDeployTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConfigureAndDeployTemplateRequest.BuilderImplements
ConfigureAndDeployTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTemplateParameters(Iterable<? extends Parameter> values)
public ConfigureAndDeployTemplateRequest.Builder addAllTemplateParameters(Iterable<? extends Parameter> values)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.designcenter.v1.Parameter> |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
addTemplateParameters(Parameter value)
public ConfigureAndDeployTemplateRequest.Builder addTemplateParameters(Parameter value)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
addTemplateParameters(Parameter.Builder builderForValue)
public ConfigureAndDeployTemplateRequest.Builder addTemplateParameters(Parameter.Builder builderForValue)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
addTemplateParameters(int index, Parameter value)
public ConfigureAndDeployTemplateRequest.Builder addTemplateParameters(int index, Parameter value)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
addTemplateParameters(int index, Parameter.Builder builderForValue)
public ConfigureAndDeployTemplateRequest.Builder addTemplateParameters(int index, Parameter.Builder builderForValue)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
addTemplateParametersBuilder()
public Parameter.Builder addTemplateParametersBuilder()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
addTemplateParametersBuilder(int index)
public Parameter.Builder addTemplateParametersBuilder(int index)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
build()
public ConfigureAndDeployTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest |
|
buildPartial()
public ConfigureAndDeployTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest |
|
clear()
public ConfigureAndDeployTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
clearParent()
public ConfigureAndDeployTemplateRequest.Builder clearParent() Required. The parent resource where the template will be deployed.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
clearServiceAccount()
public ConfigureAndDeployTemplateRequest.Builder clearServiceAccount()Optional. The resource name of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process.
- The caller must have the
iam.serviceAccounts.actAspermission on this service account. - If this field is omitted, a default system service account will be used. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
clearSpaceId()
public ConfigureAndDeployTemplateRequest.Builder clearSpaceId()Required. The space ID where the template and application will be created.
string space_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
clearTemplateParameters()
public ConfigureAndDeployTemplateRequest.Builder clearTemplateParameters()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
clearTemplateUri()
public ConfigureAndDeployTemplateRequest.Builder clearTemplateUri()Required. The URI or identifier of the template to configure and deploy.
string template_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ConfigureAndDeployTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where the template will be deployed.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource where the template will be deployed.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getServiceAccount()
public String getServiceAccount()Optional. The resource name of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process.
- The caller must have the
iam.serviceAccounts.actAspermission on this service account. - If this field is omitted, a default system service account will be used. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()Optional. The resource name of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process.
- The caller must have the
iam.serviceAccounts.actAspermission on this service account. - If this field is omitted, a default system service account will be used. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getSpaceId()
public String getSpaceId()Required. The space ID where the template and application will be created.
string space_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The spaceId. |
getSpaceIdBytes()
public ByteString getSpaceIdBytes()Required. The space ID where the template and application will be created.
string space_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for spaceId. |
getTemplateParameters(int index)
public Parameter getTemplateParameters(int index)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter |
|
getTemplateParametersBuilder(int index)
public Parameter.Builder getTemplateParametersBuilder(int index)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getTemplateParametersBuilderList()
public List<Parameter.Builder> getTemplateParametersBuilderList()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTemplateParametersCount()
public int getTemplateParametersCount()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTemplateParametersList()
public List<Parameter> getTemplateParametersList()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Parameter> |
|
getTemplateParametersOrBuilder(int index)
public ParameterOrBuilder getTemplateParametersOrBuilder(int index)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterOrBuilder |
|
getTemplateParametersOrBuilderList()
public List<? extends ParameterOrBuilder> getTemplateParametersOrBuilderList()Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder> |
|
getTemplateUri()
public String getTemplateUri()Required. The URI or identifier of the template to configure and deploy.
string template_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The templateUri. |
getTemplateUriBytes()
public ByteString getTemplateUriBytes()Required. The URI or identifier of the template to configure and deploy.
string template_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for templateUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConfigureAndDeployTemplateRequest other)
public ConfigureAndDeployTemplateRequest.Builder mergeFrom(ConfigureAndDeployTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ConfigureAndDeployTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfigureAndDeployTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConfigureAndDeployTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
removeTemplateParameters(int index)
public ConfigureAndDeployTemplateRequest.Builder removeTemplateParameters(int index)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
setParent(String value)
public ConfigureAndDeployTemplateRequest.Builder setParent(String value) Required. The parent resource where the template will be deployed.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ConfigureAndDeployTemplateRequest.Builder setParentBytes(ByteString value) Required. The parent resource where the template will be deployed.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setServiceAccount(String value)
public ConfigureAndDeployTemplateRequest.Builder setServiceAccount(String value)Optional. The resource name of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process.
- The caller must have the
iam.serviceAccounts.actAspermission on this service account. - If this field is omitted, a default system service account will be used. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public ConfigureAndDeployTemplateRequest.Builder setServiceAccountBytes(ByteString value)Optional. The resource name of the service account to use for this deployment.
- If provided, this service account will be used to execute the deployment process.
- The caller must have the
iam.serviceAccounts.actAspermission on this service account. - If this field is omitted, a default system service account will be used. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setSpaceId(String value)
public ConfigureAndDeployTemplateRequest.Builder setSpaceId(String value)Required. The space ID where the template and application will be created.
string space_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe spaceId to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setSpaceIdBytes(ByteString value)
public ConfigureAndDeployTemplateRequest.Builder setSpaceIdBytes(ByteString value)Required. The space ID where the template and application will be created.
string space_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for spaceId to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setTemplateParameters(int index, Parameter value)
public ConfigureAndDeployTemplateRequest.Builder setTemplateParameters(int index, Parameter value)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Parameter |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
setTemplateParameters(int index, Parameter.Builder builderForValue)
public ConfigureAndDeployTemplateRequest.Builder setTemplateParameters(int index, Parameter.Builder builderForValue)Optional. Template configuration parameters (key-value pairs).
repeated .google.cloud.designcenter.v1.Parameter template_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Parameter.Builder |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
|
setTemplateUri(String value)
public ConfigureAndDeployTemplateRequest.Builder setTemplateUri(String value)Required. The URI or identifier of the template to configure and deploy.
string template_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe templateUri to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |
setTemplateUriBytes(ByteString value)
public ConfigureAndDeployTemplateRequest.Builder setTemplateUriBytes(ByteString value)Required. The URI or identifier of the template to configure and deploy.
string template_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for templateUri to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigureAndDeployTemplateRequest.Builder |
This builder for chaining. |