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
Static Fields
CHECKSUM_FIELD_NUMBER
public static final int CHECKSUM_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder()
Returns
newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)
Parameter
Returns
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public GuestPolicies.SoftwareRecipe.Artifact.Remote getDefaultInstanceForType()
Returns
getParserForType()
public Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions