Class GuestPolicies.SoftwareRecipe.Artifact.Remote (2.51.0)

public static final class GuestPolicies.SoftwareRecipe.Artifact.Remote extends GeneratedMessageV3 implements GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder

Specifies an artifact available via some URI.

Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.SoftwareRecipe.Artifact.Remote

Static Fields

CHECKSUM_FIELD_NUMBER

public static final int CHECKSUM_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstance()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder

newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)
Parameter
Name Description
prototype GuestPolicies.SoftwareRecipe.Artifact.Remote
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> parser()
Returns
Type Description
Parser<Remote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getChecksum()

public String getChecksum()

Must be provided if allow_insecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps.

string checksum = 2;

Returns
Type Description
String

The checksum.

getChecksumBytes()

public ByteString getChecksumBytes()

Must be provided if allow_insecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps.

string checksum = 2;

Returns
Type Description
ByteString

The bytes for checksum.

getDefaultInstanceForType()

public GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote

getParserForType()

public Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> getParserForType()
Returns
Type Description
Parser<Remote>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder toBuilder()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException