Interface ArtifactChunkOrBuilder (0.19.0)

public interface ArtifactChunkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifactId()

public abstract String getArtifactId()

Identifier of the artifact, stable across all chunks of one artifact within the stream.

string artifact_id = 1;

Returns
Type Description
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

Identifier of the artifact, stable across all chunks of one artifact within the stream.

string artifact_id = 1;

Returns
Type Description
ByteString

The bytes for artifactId.

getContentDelta()

public abstract String getContentDelta()

Incremental artifact content. Set on DELTA chunks.

string content_delta = 4;

Returns
Type Description
String

The contentDelta.

getContentDeltaBytes()

public abstract ByteString getContentDeltaBytes()

Incremental artifact content. Set on DELTA chunks.

string content_delta = 4;

Returns
Type Description
ByteString

The bytes for contentDelta.

getDisplayName()

public abstract String getDisplayName()

The file name shown to the user, e.g. "hotel_booking_tdd.md". Set on STARTED (and repeated on FINALIZED).

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The file name shown to the user, e.g. "hotel_booking_tdd.md". Set on STARTED (and repeated on FINALIZED).

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getGcsUri()

public abstract String getGcsUri()

The GCS object the artifact was persisted to. Set on FINALIZED chunks.

string gcs_uri = 5;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public abstract ByteString getGcsUriBytes()

The GCS object the artifact was persisted to. Set on FINALIZED chunks.

string gcs_uri = 5;

Returns
Type Description
ByteString

The bytes for gcsUri.

getMimeType()

public abstract String getMimeType()

The IANA media type of the artifact content, e.g. "text/markdown".

string mime_type = 3;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The IANA media type of the artifact content, e.g. "text/markdown".

string mime_type = 3;

Returns
Type Description
ByteString

The bytes for mimeType.

getState()

public abstract ArtifactChunk.State getState()

Lifecycle position of this chunk.

.google.cloud.ces.v1beta.ArtifactChunk.State state = 6;

Returns
Type Description
ArtifactChunk.State

The state.

getStateValue()

public abstract int getStateValue()

Lifecycle position of this chunk.

.google.cloud.ces.v1beta.ArtifactChunk.State state = 6;

Returns
Type Description
int

The enum numeric value on the wire for state.