public static final class GuestPolicies.PackageRepository extends GeneratedMessageV3 implements GuestPolicies.PackageRepositoryOrBuilder
A package repository.
Protobuf type google.cloud.osconfig.v1beta.PackageRepository
Static Fields
APT_FIELD_NUMBER
public static final int APT_FIELD_NUMBER
Field Value
GOO_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER
Field Value
YUM_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER
Field Value
ZYPPER_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GuestPolicies.PackageRepository getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GuestPolicies.PackageRepository.Builder newBuilder()
Returns
newBuilder(GuestPolicies.PackageRepository prototype)
public static GuestPolicies.PackageRepository.Builder newBuilder(GuestPolicies.PackageRepository prototype)
Parameter
Returns
public static GuestPolicies.PackageRepository parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.PackageRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GuestPolicies.PackageRepository parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.PackageRepository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GuestPolicies.PackageRepository parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.PackageRepository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.PackageRepository parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.PackageRepository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GuestPolicies.PackageRepository> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getApt()
public GuestPolicies.AptRepository getApt()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
getAptOrBuilder()
public GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
getDefaultInstanceForType()
public GuestPolicies.PackageRepository getDefaultInstanceForType()
Returns
getGoo()
public GuestPolicies.GooRepository getGoo()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
getGooOrBuilder()
public GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
getParserForType()
public Parser<GuestPolicies.PackageRepository> getParserForType()
Returns
Overrides
getRepositoryCase()
public GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getYum()
public GuestPolicies.YumRepository getYum()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
getYumOrBuilder()
public GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
getZypper()
public GuestPolicies.ZypperRepository getZypper()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
getZypperOrBuilder()
public GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
hasApt()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
Type | Description |
boolean | Whether the apt field is set.
|
hasGoo()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
Type | Description |
boolean | Whether the goo field is set.
|
hasYum()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
Type | Description |
boolean | Whether the yum field is set.
|
hasZypper()
public boolean hasZypper()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
Type | Description |
boolean | Whether the zypper field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GuestPolicies.PackageRepository.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.PackageRepository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GuestPolicies.PackageRepository.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions