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 class
Deployment.Builder
The period during which some deployable was active in a runtime.static class
Deployment.Platform
Types 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 int
ADDRESS_FIELD_NUMBER
static int
CONFIG_FIELD_NUMBER
static int
DEPLOY_TIME_FIELD_NUMBER
static int
PLATFORM_FIELD_NUMBER
static int
RESOURCE_URI_FIELD_NUMBER
static int
UNDEPLOY_TIME_FIELD_NUMBER
static int
USER_EMAIL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAddress()
Address of the runtime element hosting this deployment.com.google.protobuf.ByteString
getAddressBytes()
Address of the runtime element hosting this deployment.String
getConfig()
Configuration used to create this deployment.com.google.protobuf.ByteString
getConfigBytes()
Configuration used to create this deployment.static Deployment
getDefaultInstance()
Deployment
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeployTime()
Required.com.google.protobuf.TimestampOrBuilder
getDeployTimeOrBuilder()
Required.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<Deployment>
getParserForType()
Deployment.Platform
getPlatform()
Platform hosting this deployment.int
getPlatformValue()
Platform hosting this deployment.String
getResourceUri(int index)
Output only.com.google.protobuf.ByteString
getResourceUriBytes(int index)
Output only.int
getResourceUriCount()
Output only.com.google.protobuf.ProtocolStringList
getResourceUriList()
Output only.int
getSerializedSize()
com.google.protobuf.Timestamp
getUndeployTime()
End of the lifetime of this deployment.com.google.protobuf.TimestampOrBuilder
getUndeployTimeOrBuilder()
End of the lifetime of this deployment.com.google.protobuf.UnknownFieldSet
getUnknownFields()
String
getUserEmail()
Identity of the user that triggered this deployment.com.google.protobuf.ByteString
getUserEmailBytes()
Identity of the user that triggered this deployment.boolean
hasDeployTime()
Required.int
hashCode()
boolean
hasUndeployTime()
End of the lifetime of this deployment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Deployment.Builder
newBuilder()
static Deployment.Builder
newBuilder(Deployment prototype)
Deployment.Builder
newBuilderForType()
protected Deployment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Deployment
parseDelimitedFrom(InputStream input)
static Deployment
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(byte[] data)
static Deployment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(com.google.protobuf.ByteString data)
static Deployment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(com.google.protobuf.CodedInputStream input)
static Deployment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(InputStream input)
static Deployment
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Deployment
parseFrom(ByteBuffer data)
static Deployment
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Deployment>
parser()
Deployment.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getUserEmail
public String getUserEmail()
Identity of the user that triggered this deployment.
string user_email = 1;
- Specified by:
getUserEmail
in 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:
getUserEmailBytes
in 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:
hasDeployTime
in 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:
getDeployTime
in 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:
getDeployTimeOrBuilder
in interfaceDeploymentOrBuilder
-
hasUndeployTime
public boolean hasUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
- Specified by:
hasUndeployTime
in 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:
getUndeployTime
in 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:
getUndeployTimeOrBuilder
in interfaceDeploymentOrBuilder
-
getConfig
public String getConfig()
Configuration used to create this deployment.
string config = 4;
- Specified by:
getConfig
in interfaceDeploymentOrBuilder
- Returns:
- The config.
-
getConfigBytes
public com.google.protobuf.ByteString getConfigBytes()
Configuration used to create this deployment.
string config = 4;
- Specified by:
getConfigBytes
in interfaceDeploymentOrBuilder
- Returns:
- The bytes for config.
-
getAddress
public String getAddress()
Address of the runtime element hosting this deployment.
string address = 5;
- Specified by:
getAddress
in interfaceDeploymentOrBuilder
- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()
Address of the runtime element hosting this deployment.
string address = 5;
- Specified by:
getAddressBytes
in 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:
getResourceUriList
in 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:
getResourceUriCount
in 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:
getResourceUri
in 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:
getResourceUriBytes
in 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:
getPlatformValue
in 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:
getPlatform
in interfaceDeploymentOrBuilder
- Returns:
- The platform.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Deployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Deployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-