- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class Package.Builder extends GeneratedMessageV3.Builder<Package.Builder> implements PackageOrBuilder
Packages are named collections of versions.
Protobuf type google.devtools.artifactregistry.v1.Package
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Package.BuilderImplements
PackageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Package.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Package.Builder |
build()
public Package build()
Type | Description |
Package |
buildPartial()
public Package buildPartial()
Type | Description |
Package |
clear()
public Package.Builder clear()
Type | Description |
Package.Builder |
clearCreateTime()
public Package.Builder clearCreateTime()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Package.Builder |
clearDisplayName()
public Package.Builder clearDisplayName()
The display name of the package.
string display_name = 2;
Type | Description |
Package.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Package.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Package.Builder |
clearName()
public Package.Builder clearName()
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
string name = 1;
Type | Description |
Package.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Package.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Package.Builder |
clearUpdateTime()
public Package.Builder clearUpdateTime()
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
Package.Builder |
clone()
public Package.Builder clone()
Type | Description |
Package.Builder |
getCreateTime()
public Timestamp getCreateTime()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Package getDefaultInstanceForType()
Type | Description |
Package |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the package.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the package.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getName()
public String getName()
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Package.Builder mergeCreateTime(Timestamp value)
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
Package.Builder |
mergeFrom(Package other)
public Package.Builder mergeFrom(Package other)
Name | Description |
other | Package |
Type | Description |
Package.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Package.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Package.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Package.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Package.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Package.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Package.Builder |
mergeUpdateTime(Timestamp value)
public Package.Builder mergeUpdateTime(Timestamp value)
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Package.Builder |
setCreateTime(Timestamp value)
public Package.Builder setCreateTime(Timestamp value)
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
Package.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Package.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
Package.Builder |
setDisplayName(String value)
public Package.Builder setDisplayName(String value)
The display name of the package.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Package.Builder setDisplayNameBytes(ByteString value)
The display name of the package.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Package.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Package.Builder |
setName(String value)
public Package.Builder setName(String value)
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Package.Builder setNameBytes(ByteString value)
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Package.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Package.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Package.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Package.Builder |
setUpdateTime(Timestamp value)
public Package.Builder setUpdateTime(Timestamp value)
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Package.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Package.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time when the package was last updated. This includes publishing a new version of the package.
.google.protobuf.Timestamp update_time = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
Package.Builder |