public static interface Artifacts.GoModuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getModulePath()
public abstract String getModulePath()Optional. The Go module's "module path". e.g. example.com/foo/v2
string module_path = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The modulePath. |
getModulePathBytes()
public abstract ByteString getModulePathBytes()Optional. The Go module's "module path". e.g. example.com/foo/v2
string module_path = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for modulePath. |
getModuleVersion()
public abstract String getModuleVersion()Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
string module_version = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The moduleVersion. |
getModuleVersionBytes()
public abstract ByteString getModuleVersionBytes()Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
string module_version = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for moduleVersion. |
getRepositoryLocation()
public abstract String getRepositoryLocation()Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s location.
string repository_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The repositoryLocation. |
getRepositoryLocationBytes()
public abstract ByteString getRepositoryLocationBytes()Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s location.
string repository_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repositoryLocation. |
getRepositoryName()
public abstract String getRepositoryName()Optional. Artifact Registry repository name.
Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo
string repository_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The repositoryName. |
getRepositoryNameBytes()
public abstract ByteString getRepositoryNameBytes()Optional. Artifact Registry repository name.
Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo
string repository_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repositoryName. |
getRepositoryProjectId()
public abstract String getRepositoryProjectId()Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
string repository_project_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The repositoryProjectId. |
getRepositoryProjectIdBytes()
public abstract ByteString getRepositoryProjectIdBytes()Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
string repository_project_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repositoryProjectId. |
getSourcePath()
public abstract String getSourcePath()Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage
string source_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sourcePath. |
getSourcePathBytes()
public abstract ByteString getSourcePathBytes()Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage
string source_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourcePath. |