public static final class ExportAppRequest.Builder extends GeneratedMessage.Builder<ExportAppRequest.Builder> implements ExportAppRequestOrBuilderRequest message for AgentService.ExportApp.
Protobuf type google.cloud.ces.v1.ExportAppRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportAppRequest.BuilderImplements
ExportAppRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExportAppRequest build()| Returns | |
|---|---|
| Type | Description |
ExportAppRequest |
|
buildPartial()
public ExportAppRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportAppRequest |
|
clear()
public ExportAppRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
|
clearExportFormat()
public ExportAppRequest.Builder clearExportFormat()Required. The format to export the app in.
.google.cloud.ces.v1.ExportAppRequest.ExportFormat export_format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
clearGcsUri()
public ExportAppRequest.Builder clearGcsUri() Optional. The Google Cloud
Storage URI to which to export the
app. The format of this URI must be gs://<bucket-name>/<object-name>. The
exported app archive will be written directly to the specified GCS object.
string gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
clearName()
public ExportAppRequest.Builder clearName()Required. The resource name of the app to export.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportAppRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportAppRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExportFormat()
public ExportAppRequest.ExportFormat getExportFormat()Required. The format to export the app in.
.google.cloud.ces.v1.ExportAppRequest.ExportFormat export_format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.ExportFormat |
The exportFormat. |
getExportFormatValue()
public int getExportFormatValue()Required. The format to export the app in.
.google.cloud.ces.v1.ExportAppRequest.ExportFormat export_format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for exportFormat. |
getGcsUri()
public String getGcsUri() Optional. The Google Cloud
Storage URI to which to export the
app. The format of this URI must be gs://<bucket-name>/<object-name>. The
exported app archive will be written directly to the specified GCS object.
string gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The gcsUri. |
getGcsUriBytes()
public ByteString getGcsUriBytes() Optional. The Google Cloud
Storage URI to which to export the
app. The format of this URI must be gs://<bucket-name>/<object-name>. The
exported app archive will be written directly to the specified GCS object.
string gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsUri. |
getName()
public String getName()Required. The resource name of the app to export.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the app to export.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportAppRequest other)
public ExportAppRequest.Builder mergeFrom(ExportAppRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportAppRequest |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportAppRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportAppRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
|
setExportFormat(ExportAppRequest.ExportFormat value)
public ExportAppRequest.Builder setExportFormat(ExportAppRequest.ExportFormat value)Required. The format to export the app in.
.google.cloud.ces.v1.ExportAppRequest.ExportFormat export_format = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportAppRequest.ExportFormatThe exportFormat to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
setExportFormatValue(int value)
public ExportAppRequest.Builder setExportFormatValue(int value)Required. The format to export the app in.
.google.cloud.ces.v1.ExportAppRequest.ExportFormat export_format = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for exportFormat to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
setGcsUri(String value)
public ExportAppRequest.Builder setGcsUri(String value) Optional. The Google Cloud
Storage URI to which to export the
app. The format of this URI must be gs://<bucket-name>/<object-name>. The
exported app archive will be written directly to the specified GCS object.
string gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public ExportAppRequest.Builder setGcsUriBytes(ByteString value) Optional. The Google Cloud
Storage URI to which to export the
app. The format of this URI must be gs://<bucket-name>/<object-name>. The
exported app archive will be written directly to the specified GCS object.
string gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
setName(String value)
public ExportAppRequest.Builder setName(String value)Required. The resource name of the app to export.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ExportAppRequest.Builder setNameBytes(ByteString value)Required. The resource name of the app to export.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAppRequest.Builder |
This builder for chaining. |