public interface PackageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLocation()
public abstract String getLocation()The resource to read the package from. The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public abstract ByteString getLocationBytes()The resource to read the package from. The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getName()
public abstract String getName()The name of the package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The name of the package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSha256()
public abstract String getSha256()Optional. The hex-encoded SHA256 checksum of the package. If the checksum is provided, the worker will verify the checksum of the package before using it. If the checksum does not match, the worker will fail to start.
string sha256 = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sha256. |
getSha256Bytes()
public abstract ByteString getSha256Bytes()Optional. The hex-encoded SHA256 checksum of the package. If the checksum is provided, the worker will verify the checksum of the package before using it. If the checksum does not match, the worker will fail to start.
string sha256 = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sha256. |