Class Repository.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
- com.google.devtools.artifactregistry.v1.Repository.Builder
-
- All Implemented Interfaces:
RepositoryOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Repository
public static final class Repository.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder> implements RepositoryOrBuilder
A Repository for storing artifacts with a specific format.
Protobuf typegoogle.devtools.artifactregistry.v1.Repository
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Repository.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Repository
build()
Repository
buildPartial()
Repository.Builder
clear()
Repository.Builder
clearCreateTime()
The time when the repository was created.Repository.Builder
clearDescription()
The user-provided description of the repository.Repository.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Repository.Builder
clearFormat()
The format of packages that are stored in the repository.Repository.Builder
clearFormatConfig()
Repository.Builder
clearKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.Repository.Builder
clearLabels()
Repository.Builder
clearMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.Repository.Builder
clearName()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".Repository.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Repository.Builder
clearUpdateTime()
The time when the repository was last updated.Repository.Builder
clone()
boolean
containsLabels(String key)
Labels with user-defined metadata.com.google.protobuf.Timestamp
getCreateTime()
The time when the repository was created.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
The time when the repository was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time when the repository was created.Repository
getDefaultInstanceForType()
String
getDescription()
The user-provided description of the repository.com.google.protobuf.ByteString
getDescriptionBytes()
The user-provided description of the repository.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Repository.Format
getFormat()
The format of packages that are stored in the repository.Repository.FormatConfigCase
getFormatConfigCase()
int
getFormatValue()
The format of packages that are stored in the repository.String
getKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.com.google.protobuf.ByteString
getKmsKeyNameBytes()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels with user-defined metadata.Map<String,String>
getLabelsMap()
Labels with user-defined metadata.String
getLabelsOrDefault(String key, String defaultValue)
Labels with user-defined metadata.String
getLabelsOrThrow(String key)
Labels with user-defined metadata.Repository.MavenRepositoryConfig
getMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.Repository.MavenRepositoryConfig.Builder
getMavenConfigBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.Repository.MavenRepositoryConfigOrBuilder
getMavenConfigOrBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.ByteString
getNameBytes()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.Timestamp
getUpdateTime()
The time when the repository was last updated.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
The time when the repository was last updated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The time when the repository was last updated.boolean
hasCreateTime()
The time when the repository was created.boolean
hasMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.boolean
hasUpdateTime()
The time when the repository was last updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Repository.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the repository was created.Repository.Builder
mergeFrom(Repository other)
Repository.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Repository.Builder
mergeFrom(com.google.protobuf.Message other)
Repository.Builder
mergeMavenConfig(Repository.MavenRepositoryConfig value)
Maven repository config contains repository level configuration for the repositories of maven type.Repository.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Repository.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
The time when the repository was last updated.Repository.Builder
putAllLabels(Map<String,String> values)
Labels with user-defined metadata.Repository.Builder
putLabels(String key, String value)
Labels with user-defined metadata.Repository.Builder
removeLabels(String key)
Labels with user-defined metadata.Repository.Builder
setCreateTime(com.google.protobuf.Timestamp value)
The time when the repository was created.Repository.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the repository was created.Repository.Builder
setDescription(String value)
The user-provided description of the repository.Repository.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The user-provided description of the repository.Repository.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Repository.Builder
setFormat(Repository.Format value)
The format of packages that are stored in the repository.Repository.Builder
setFormatValue(int value)
The format of packages that are stored in the repository.Repository.Builder
setKmsKeyName(String value)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.Repository.Builder
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.Repository.Builder
setMavenConfig(Repository.MavenRepositoryConfig value)
Maven repository config contains repository level configuration for the repositories of maven type.Repository.Builder
setMavenConfig(Repository.MavenRepositoryConfig.Builder builderForValue)
Maven repository config contains repository level configuration for the repositories of maven type.Repository.Builder
setName(String value)
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".Repository.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".Repository.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Repository.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Repository.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
The time when the repository was last updated.Repository.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the repository was last updated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
clear
public Repository.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
getDefaultInstanceForType
public Repository getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Repository build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Repository buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Repository.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
setField
public Repository.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
clearField
public Repository.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
clearOneof
public Repository.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
setRepeatedField
public Repository.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
addRepeatedField
public Repository.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
mergeFrom
public Repository.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Repository.Builder>
-
mergeFrom
public Repository.Builder mergeFrom(Repository other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
mergeFrom
public Repository.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Repository.Builder>
- Throws:
IOException
-
getFormatConfigCase
public Repository.FormatConfigCase getFormatConfigCase()
- Specified by:
getFormatConfigCase
in interfaceRepositoryOrBuilder
-
clearFormatConfig
public Repository.Builder clearFormatConfig()
-
hasMavenConfig
public boolean hasMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
- Specified by:
hasMavenConfig
in interfaceRepositoryOrBuilder
- Returns:
- Whether the mavenConfig field is set.
-
getMavenConfig
public Repository.MavenRepositoryConfig getMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
- Specified by:
getMavenConfig
in interfaceRepositoryOrBuilder
- Returns:
- The mavenConfig.
-
setMavenConfig
public Repository.Builder setMavenConfig(Repository.MavenRepositoryConfig value)
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
-
setMavenConfig
public Repository.Builder setMavenConfig(Repository.MavenRepositoryConfig.Builder builderForValue)
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
-
mergeMavenConfig
public Repository.Builder mergeMavenConfig(Repository.MavenRepositoryConfig value)
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
-
clearMavenConfig
public Repository.Builder clearMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
-
getMavenConfigBuilder
public Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
-
getMavenConfigOrBuilder
public Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
- Specified by:
getMavenConfigOrBuilder
in interfaceRepositoryOrBuilder
-
getName
public String getName()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;
- Specified by:
getName
in interfaceRepositoryOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;
- Specified by:
getNameBytes
in interfaceRepositoryOrBuilder
- Returns:
- The bytes for name.
-
setName
public Repository.Builder setName(String value)
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Repository.Builder clearName()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Repository.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFormatValue
public int getFormatValue()
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1.Repository.Format format = 2;
- Specified by:
getFormatValue
in interfaceRepositoryOrBuilder
- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
public Repository.Builder setFormatValue(int value)
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1.Repository.Format format = 2;
- Parameters:
value
- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
-
getFormat
public Repository.Format getFormat()
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1.Repository.Format format = 2;
- Specified by:
getFormat
in interfaceRepositoryOrBuilder
- Returns:
- The format.
-
setFormat
public Repository.Builder setFormat(Repository.Format value)
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1.Repository.Format format = 2;
- Parameters:
value
- The format to set.- Returns:
- This builder for chaining.
-
clearFormat
public Repository.Builder clearFormat()
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1.Repository.Format format = 2;
- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
The user-provided description of the repository.
string description = 3;
- Specified by:
getDescription
in interfaceRepositoryOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The user-provided description of the repository.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceRepositoryOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Repository.Builder setDescription(String value)
The user-provided description of the repository.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Repository.Builder clearDescription()
The user-provided description of the repository.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Repository.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The user-provided description of the repository.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RepositoryOrBuilder
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceRepositoryOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceRepositoryOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceRepositoryOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceRepositoryOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceRepositoryOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceRepositoryOrBuilder
-
clearLabels
public Repository.Builder clearLabels()
-
removeLabels
public Repository.Builder removeLabels(String key)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Repository.Builder putLabels(String key, String value)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
-
putAllLabels
public Repository.Builder putAllLabels(Map<String,String> values)
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
map<string, string> labels = 4;
-
hasCreateTime
public boolean hasCreateTime()
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
hasCreateTime
in interfaceRepositoryOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
getCreateTime
in interfaceRepositoryOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Repository.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
-
setCreateTime
public Repository.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
-
mergeCreateTime
public Repository.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
-
clearCreateTime
public Repository.Builder clearCreateTime()
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
getCreateTimeOrBuilder
in interfaceRepositoryOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
- Specified by:
hasUpdateTime
in interfaceRepositoryOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
- Specified by:
getUpdateTime
in interfaceRepositoryOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Repository.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
-
setUpdateTime
public Repository.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
-
mergeUpdateTime
public Repository.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
-
clearUpdateTime
public Repository.Builder clearUpdateTime()
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;
- Specified by:
getUpdateTimeOrBuilder
in interfaceRepositoryOrBuilder
-
getKmsKeyName
public String getKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
string kms_key_name = 8;
- Specified by:
getKmsKeyName
in interfaceRepositoryOrBuilder
- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
string kms_key_name = 8;
- Specified by:
getKmsKeyNameBytes
in interfaceRepositoryOrBuilder
- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
public Repository.Builder setKmsKeyName(String value)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
string kms_key_name = 8;
- Parameters:
value
- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
public Repository.Builder clearKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
string kms_key_name = 8;
- Returns:
- This builder for chaining.
-
setKmsKeyNameBytes
public Repository.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
string kms_key_name = 8;
- Parameters:
value
- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Repository.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
mergeUnknownFields
public final Repository.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Repository.Builder>
-
-