public static interface OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType |
getArchiveType()
Required.
|
int |
getArchiveTypeValue()
Required.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getArchiveTypeValue()
Required. Type of archive files in this repository.
.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED];
OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType getArchiveType()
Required. Type of archive files in this repository.
.google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType archive_type = 1 [(.google.api.field_behavior) = REQUIRED];
String getUri()
Required. URI for this repository.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getUriBytes()
Required. URI for this repository.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];String getDistribution()
Required. Distribution of this repository.
string distribution = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDistributionBytes()
Required. Distribution of this repository.
string distribution = 3 [(.google.api.field_behavior) = REQUIRED];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];int getComponentsCount()
Required. List of components for this repository. Must contain at least one item.
repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];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];index - The index of the element to return.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];index - The index of the value to return.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`.
string gpg_key = 5;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`.
string gpg_key = 5;Copyright © 2023 Google LLC. All rights reserved.