Interface PackageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Package,Package.Builder
public interface PackageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()The time when the package was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time when the package was created.StringgetDisplayName()The display name of the package.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the package.StringgetName()The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".com.google.protobuf.ByteStringgetNameBytes()The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".com.google.protobuf.TimestampgetUpdateTime()The time when the package was last updated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The time when the package was last updated.booleanhasCreateTime()The time when the package was created.booleanhasUpdateTime()The time when the package was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
The display name of the package.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the package.
string display_name = 2;- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the package was created.
.google.protobuf.Timestamp create_time = 5;
-
hasUpdateTime
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;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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;
-
-