Package io.grafeas.v1beta1.pkg
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 Distribution
getDistribution(int index)
The various channels by which a package is distributed.int
getDistributionCount()
The various channels by which a package is distributed.List<Distribution>
getDistributionList()
The various channels by which a package is distributed.DistributionOrBuilder
getDistributionOrBuilder(int index)
The various channels by which a package is distributed.List<? extends DistributionOrBuilder>
getDistributionOrBuilderList()
The various channels by which a package is distributed.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.-
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()
Required. Immutable. The name of the package.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Immutable. The name of the package.
string name = 1;
- Returns:
- The bytes for name.
-
getDistributionList
List<Distribution> getDistributionList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
-
getDistribution
Distribution getDistribution(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
-
getDistributionCount
int getDistributionCount()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
-
getDistributionOrBuilderList
List<? extends DistributionOrBuilder> getDistributionOrBuilderList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
-
getDistributionOrBuilder
DistributionOrBuilder getDistributionOrBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
-
-