Class ExportAppRequest (0.1.0)

public final class ExportAppRequest extends GeneratedMessage implements ExportAppRequestOrBuilder

Request message for AgentService.ExportApp.

Protobuf type google.cloud.ces.v1.ExportAppRequest

Static Fields

EXPORT_FORMAT_FIELD_NUMBER

public static final int EXPORT_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportAppRequest getDefaultInstance()
Returns
Type Description
ExportAppRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ExportAppRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExportAppRequest getDefaultInstanceForType()
Returns
Type Description
ExportAppRequest

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.

getParserForType()

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

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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