public static final class ImportAppRequest.Builder extends GeneratedMessage.Builder<ImportAppRequest.Builder> implements ImportAppRequestOrBuilderRequest message for AgentService.ImportApp.
Protobuf type google.cloud.ces.v1.ImportAppRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportAppRequest.BuilderImplements
ImportAppRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportAppRequest build()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest |
|
buildPartial()
public ImportAppRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest |
|
clear()
public ImportAppRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
clearApp()
public ImportAppRequest.Builder clearApp()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
clearAppContent()
public ImportAppRequest.Builder clearAppContent()Raw bytes representing the compressed zip file with the app folder structure.
bytes app_content = 5;
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
clearAppId()
public ImportAppRequest.Builder clearAppId()Optional. The ID to use for the imported app.
- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
string app_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
clearDisplayName()
public ImportAppRequest.Builder clearDisplayName()Optional. The display name of the app to import.
- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
clearGcsUri()
public ImportAppRequest.Builder clearGcsUri() The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
clearIgnoreAppLock()
public ImportAppRequest.Builder clearIgnoreAppLock()Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.
bool ignore_app_lock = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
clearImportOptions()
public ImportAppRequest.Builder clearImportOptions()Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
clearParent()
public ImportAppRequest.Builder clearParent()Required. The parent resource name with the location of the app to import.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
getAppCase()
public ImportAppRequest.AppCase getAppCase()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.AppCase |
|
getAppContent()
public ByteString getAppContent()Raw bytes representing the compressed zip file with the app folder structure.
bytes app_content = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The appContent. |
getAppId()
public String getAppId()Optional. The ID to use for the imported app.
- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
string app_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The appId. |
getAppIdBytes()
public ByteString getAppIdBytes()Optional. The ID to use for the imported app.
- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
string app_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appId. |
getDefaultInstanceForType()
public ImportAppRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportAppRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. The display name of the app to import.
- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. The display name of the app to import.
- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getGcsUri()
public String getGcsUri() The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The gcsUri. |
getGcsUriBytes()
public ByteString getGcsUriBytes() The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsUri. |
getIgnoreAppLock()
public boolean getIgnoreAppLock()Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.
bool ignore_app_lock = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The ignoreAppLock. |
getImportOptions()
public ImportAppRequest.ImportOptions getImportOptions()Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.ImportOptions |
The importOptions. |
getImportOptionsBuilder()
public ImportAppRequest.ImportOptions.Builder getImportOptionsBuilder()Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.ImportOptions.Builder |
|
getImportOptionsOrBuilder()
public ImportAppRequest.ImportOptionsOrBuilder getImportOptionsOrBuilder()Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.ImportOptionsOrBuilder |
|
getParent()
public String getParent()Required. The parent resource name with the location of the app to import.
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 name with the location of the app to import.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasAppContent()
public boolean hasAppContent()Raw bytes representing the compressed zip file with the app folder structure.
bytes app_content = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the appContent field is set. |
hasGcsUri()
public boolean hasGcsUri() The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsUri field is set. |
hasImportOptions()
public boolean hasImportOptions()Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the importOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportAppRequest other)
public ImportAppRequest.Builder mergeFrom(ImportAppRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportAppRequest |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportAppRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportAppRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
mergeImportOptions(ImportAppRequest.ImportOptions value)
public ImportAppRequest.Builder mergeImportOptions(ImportAppRequest.ImportOptions value)Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportAppRequest.ImportOptions |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
setAppContent(ByteString value)
public ImportAppRequest.Builder setAppContent(ByteString value)Raw bytes representing the compressed zip file with the app folder structure.
bytes app_content = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe appContent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setAppId(String value)
public ImportAppRequest.Builder setAppId(String value)Optional. The ID to use for the imported app.
- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
string app_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appId to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setAppIdBytes(ByteString value)
public ImportAppRequest.Builder setAppIdBytes(ByteString value)Optional. The ID to use for the imported app.
- If not specified, a unique ID will be automatically assigned for the app.
- Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
string app_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appId to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setDisplayName(String value)
public ImportAppRequest.Builder setDisplayName(String value)Optional. The display name of the app to import.
- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ImportAppRequest.Builder setDisplayNameBytes(ByteString value)Optional. The display name of the app to import.
- If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique.
- If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setGcsUri(String value)
public ImportAppRequest.Builder setGcsUri(String value) The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public ImportAppRequest.Builder setGcsUriBytes(ByteString value) The Google Cloud Storage URI
from which to import app. The format of this URI must be
gs://<bucket-name>/<object-name>.
string gcs_uri = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setIgnoreAppLock(boolean value)
public ImportAppRequest.Builder setIgnoreAppLock(boolean value)Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.
bool ignore_app_lock = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe ignoreAppLock to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setImportOptions(ImportAppRequest.ImportOptions value)
public ImportAppRequest.Builder setImportOptions(ImportAppRequest.ImportOptions value)Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportAppRequest.ImportOptions |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
setImportOptions(ImportAppRequest.ImportOptions.Builder builderForValue)
public ImportAppRequest.Builder setImportOptions(ImportAppRequest.ImportOptions.Builder builderForValue)Optional. Options governing the import process for the app.
.google.cloud.ces.v1.ImportAppRequest.ImportOptions import_options = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportAppRequest.ImportOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
|
setParent(String value)
public ImportAppRequest.Builder setParent(String value)Required. The parent resource name with the location of the app to import.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAppRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportAppRequest.Builder setParentBytes(ByteString value)Required. The parent resource name with the location of the app to import.
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 |
ImportAppRequest.Builder |
This builder for chaining. |