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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder()
newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilder(GuestPolicies.SoftwareRecipe.Artifact.Remote prototype)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Artifact.Remote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<GuestPolicies.SoftwareRecipe.Artifact.Remote> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides