Package com.google.cloud.osconfig.v1beta
Interface GuestPolicies.AptRepositoryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuestPolicies.AptRepository
,GuestPolicies.AptRepository.Builder
- Enclosing class:
- GuestPolicies
public static interface GuestPolicies.AptRepositoryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuestPolicies.AptRepository.ArchiveType
getArchiveType()
Type of archive files in this repository.int
getArchiveTypeValue()
Type of archive files in this repository.String
getComponents(int index)
Required.com.google.protobuf.ByteString
getComponentsBytes(int index)
Required.int
getComponentsCount()
Required.List<String>
getComponentsList()
Required.String
getDistribution()
Required.com.google.protobuf.ByteString
getDistributionBytes()
Required.String
getGpgKey()
URI of the key file for this repository.com.google.protobuf.ByteString
getGpgKeyBytes()
URI of the key file for this repository.String
getUri()
Required.com.google.protobuf.ByteString
getUriBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getArchiveTypeValue
int getArchiveTypeValue()
Type of archive files in this repository. The default behavior is DEB.
.google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1;
- Returns:
- The enum numeric value on the wire for archiveType.
-
getArchiveType
GuestPolicies.AptRepository.ArchiveType getArchiveType()
Type of archive files in this repository. The default behavior is DEB.
.google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1;
- Returns:
- The archiveType.
-
getUri
String getUri()
Required. URI for this repository.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
Required. URI for this repository.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for uri.
-
getDistribution
String getDistribution()
Required. Distribution of this repository.
string distribution = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The distribution.
-
getDistributionBytes
com.google.protobuf.ByteString getDistributionBytes()
Required. Distribution of this repository.
string distribution = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for distribution.
-
getComponentsList
List<String> getComponentsList()
Required. List of components for this repository. Must contain at least one item.
repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the components.
-
getComponentsCount
int getComponentsCount()
Required. List of components for this repository. Must contain at least one item.
repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of components.
-
getComponents
String getComponents(int index)
Required. List of components for this repository. Must contain at least one item.
repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the element to return.- Returns:
- The components at the given index.
-
getComponentsBytes
com.google.protobuf.ByteString getComponentsBytes(int index)
Required. List of components for this repository. Must contain at least one item.
repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the components at the given index.
-
getGpgKey
String getGpgKey()
URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing all the keys in any applied guest policy.
string gpg_key = 5;
- Returns:
- The gpgKey.
-
getGpgKeyBytes
com.google.protobuf.ByteString getGpgKeyBytes()
URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing all the keys in any applied guest policy.
string gpg_key = 5;
- Returns:
- The bytes for gpgKey.
-
-