public final class Repository extends GeneratedMessageV3 implements RepositoryOrBuilder
Represents a Dataform Git repository.
Protobuf type google.cloud.dataform.v1beta1.Repository
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NPMRC_ENVIRONMENT_VARIABLES_SECRET_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SET_AUTHENTICATED_USER_ADMIN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int WORKSPACE_COMPILATION_OVERRIDES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Repository getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Repository.Builder newBuilder()
public static Repository.Builder newBuilder(Repository prototype)
public static Repository parseDelimitedFrom(InputStream input)
public static Repository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Repository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(ByteString data)
public static Repository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(CodedInputStream input)
public static Repository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(InputStream input)
public static Repository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(ByteBuffer data)
public static Repository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Repository> parser()
Methods
public boolean containsLabels(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Repository getDefaultInstanceForType()
public String getDisplayName()
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
public Repository.GitRemoteSettings getGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
public Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
public Map<String,String> getLabels()
public int getLabelsCount()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getNpmrcEnvironmentVariablesSecretVersion()
Optional. The name of the Secret Manager secret version to be used to
interpolate variables into the .npmrc file for package installation
operations. Must be in the format projects/*/secrets/*/versions/*
. The
file itself must be in a JSON format.
string npmrc_environment_variables_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The npmrcEnvironmentVariablesSecretVersion.
|
public ByteString getNpmrcEnvironmentVariablesSecretVersionBytes()
Optional. The name of the Secret Manager secret version to be used to
interpolate variables into the .npmrc file for package installation
operations. Must be in the format projects/*/secrets/*/versions/*
. The
file itself must be in a JSON format.
string npmrc_environment_variables_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for npmrcEnvironmentVariablesSecretVersion.
|
public Parser<Repository> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getServiceAccount()
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The serviceAccount.
|
public ByteString getServiceAccountBytes()
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
public boolean getSetAuthenticatedUserAdmin()
Returns |
Type |
Description |
boolean |
The setAuthenticatedUserAdmin.
|
public Repository.WorkspaceCompilationOverrides getWorkspaceCompilationOverrides()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
public Repository.WorkspaceCompilationOverridesOrBuilder getWorkspaceCompilationOverridesOrBuilder()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the gitRemoteSettings field is set.
|
public boolean hasWorkspaceCompilationOverrides()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the workspaceCompilationOverrides field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public Repository.Builder newBuilderForType()
protected Repository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Repository.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides