Interface PackageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Package,Package.Builder
@Generated
public interface PackageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time when the package was created.com.google.protobuf.TimestampOrBuilderThe time when the package was created.The display name of the package.com.google.protobuf.ByteStringThe display name of the package.getName()The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".com.google.protobuf.ByteStringThe name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".com.google.protobuf.TimestampThe time when the package was last updated.com.google.protobuf.TimestampOrBuilderThe time when the package was last updated.booleanThe time when the package was created.booleanThe time when the package was last updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
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".
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;
-