Package io.grafeas.v1beta1.deployment
Class Deployment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grafeas.v1beta1.deployment.Deployment
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DeploymentOrBuilder,Serializable
public final class Deployment extends com.google.protobuf.GeneratedMessageV3 implements DeploymentOrBuilder
The period during which some deployable was active in a runtime.
Protobuf typegrafeas.v1beta1.deployment.Deployment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeployment.BuilderThe period during which some deployable was active in a runtime.static classDeployment.PlatformTypes of platforms.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_FIELD_NUMBERstatic intCONFIG_FIELD_NUMBERstatic intDEPLOY_TIME_FIELD_NUMBERstatic intPLATFORM_FIELD_NUMBERstatic intRESOURCE_URI_FIELD_NUMBERstatic intUNDEPLOY_TIME_FIELD_NUMBERstatic intUSER_EMAIL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAddress()Address of the runtime element hosting this deployment.com.google.protobuf.ByteStringgetAddressBytes()Address of the runtime element hosting this deployment.StringgetConfig()Configuration used to create this deployment.com.google.protobuf.ByteStringgetConfigBytes()Configuration used to create this deployment.static DeploymentgetDefaultInstance()DeploymentgetDefaultInstanceForType()com.google.protobuf.TimestampgetDeployTime()Required.com.google.protobuf.TimestampOrBuildergetDeployTimeOrBuilder()Required.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Deployment>getParserForType()Deployment.PlatformgetPlatform()Platform hosting this deployment.intgetPlatformValue()Platform hosting this deployment.StringgetResourceUri(int index)Output only.com.google.protobuf.ByteStringgetResourceUriBytes(int index)Output only.intgetResourceUriCount()Output only.com.google.protobuf.ProtocolStringListgetResourceUriList()Output only.intgetSerializedSize()com.google.protobuf.TimestampgetUndeployTime()End of the lifetime of this deployment.com.google.protobuf.TimestampOrBuildergetUndeployTimeOrBuilder()End of the lifetime of this deployment.com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUserEmail()Identity of the user that triggered this deployment.com.google.protobuf.ByteStringgetUserEmailBytes()Identity of the user that triggered this deployment.booleanhasDeployTime()Required.inthashCode()booleanhasUndeployTime()End of the lifetime of this deployment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Deployment.BuildernewBuilder()static Deployment.BuildernewBuilder(Deployment prototype)Deployment.BuildernewBuilderForType()protected Deployment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DeploymentparseDelimitedFrom(InputStream input)static DeploymentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeploymentparseFrom(byte[] data)static DeploymentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeploymentparseFrom(com.google.protobuf.ByteString data)static DeploymentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeploymentparseFrom(com.google.protobuf.CodedInputStream input)static DeploymentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeploymentparseFrom(InputStream input)static DeploymentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeploymentparseFrom(ByteBuffer data)static DeploymentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Deployment>parser()Deployment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
USER_EMAIL_FIELD_NUMBER
public static final int USER_EMAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_TIME_FIELD_NUMBER
public static final int DEPLOY_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNDEPLOY_TIME_FIELD_NUMBER
public static final int UNDEPLOY_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_URI_FIELD_NUMBER
public static final int RESOURCE_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUserEmail
public String getUserEmail()
Identity of the user that triggered this deployment.
string user_email = 1;- Specified by:
getUserEmailin interfaceDeploymentOrBuilder- Returns:
- The userEmail.
-
getUserEmailBytes
public com.google.protobuf.ByteString getUserEmailBytes()
Identity of the user that triggered this deployment.
string user_email = 1;- Specified by:
getUserEmailBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for userEmail.
-
hasDeployTime
public boolean hasDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;- Specified by:
hasDeployTimein interfaceDeploymentOrBuilder- Returns:
- Whether the deployTime field is set.
-
getDeployTime
public com.google.protobuf.Timestamp getDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;- Specified by:
getDeployTimein interfaceDeploymentOrBuilder- Returns:
- The deployTime.
-
getDeployTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;- Specified by:
getDeployTimeOrBuilderin interfaceDeploymentOrBuilder
-
hasUndeployTime
public boolean hasUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;- Specified by:
hasUndeployTimein interfaceDeploymentOrBuilder- Returns:
- Whether the undeployTime field is set.
-
getUndeployTime
public com.google.protobuf.Timestamp getUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;- Specified by:
getUndeployTimein interfaceDeploymentOrBuilder- Returns:
- The undeployTime.
-
getUndeployTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUndeployTimeOrBuilder()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;- Specified by:
getUndeployTimeOrBuilderin interfaceDeploymentOrBuilder
-
getConfig
public String getConfig()
Configuration used to create this deployment.
string config = 4;- Specified by:
getConfigin interfaceDeploymentOrBuilder- Returns:
- The config.
-
getConfigBytes
public com.google.protobuf.ByteString getConfigBytes()
Configuration used to create this deployment.
string config = 4;- Specified by:
getConfigBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for config.
-
getAddress
public String getAddress()
Address of the runtime element hosting this deployment.
string address = 5;- Specified by:
getAddressin interfaceDeploymentOrBuilder- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()
Address of the runtime element hosting this deployment.
string address = 5;- Specified by:
getAddressBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for address.
-
getResourceUriList
public com.google.protobuf.ProtocolStringList getResourceUriList()
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Specified by:
getResourceUriListin interfaceDeploymentOrBuilder- Returns:
- A list containing the resourceUri.
-
getResourceUriCount
public int getResourceUriCount()
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Specified by:
getResourceUriCountin interfaceDeploymentOrBuilder- Returns:
- The count of resourceUri.
-
getResourceUri
public String getResourceUri(int index)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Specified by:
getResourceUriin interfaceDeploymentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourceUri at the given index.
-
getResourceUriBytes
public com.google.protobuf.ByteString getResourceUriBytes(int index)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Specified by:
getResourceUriBytesin interfaceDeploymentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceUri at the given index.
-
getPlatformValue
public int getPlatformValue()
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Specified by:
getPlatformValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for platform.
-
getPlatform
public Deployment.Platform getPlatform()
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Specified by:
getPlatformin interfaceDeploymentOrBuilder- Returns:
- The platform.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Deployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Deployment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Deployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Deployment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Deployment.Builder newBuilder()
-
newBuilder
public static Deployment.Builder newBuilder(Deployment prototype)
-
toBuilder
public Deployment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Deployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Deployment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Deployment> parser()
-
getParserForType
public com.google.protobuf.Parser<Deployment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Deployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-