Package io.grafeas.v1beta1.deployment
Class Deployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
io.grafeas.v1beta1.deployment.Deployment.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DeploymentOrBuilder,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
implements DeploymentOrBuilder
The period during which some deployable was active in a runtime.Protobuf type
grafeas.v1beta1.deployment.Deployment-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceUri(Iterable<String> values) Output only.addResourceUri(String value) Output only.addResourceUriBytes(com.google.protobuf.ByteString value) Output only.build()clear()Address of the runtime element hosting this deployment.Configuration used to create this deployment.Required.Platform hosting this deployment.Output only.End of the lifetime of this deployment.Identity of the user that triggered this deployment.Address of the runtime element hosting this deployment.com.google.protobuf.ByteStringAddress of the runtime element hosting this deployment.Configuration used to create this deployment.com.google.protobuf.ByteStringConfiguration used to create this deployment.com.google.protobuf.TimestampRequired.com.google.protobuf.Timestamp.BuilderRequired.com.google.protobuf.TimestampOrBuilderRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPlatform hosting this deployment.intPlatform hosting this deployment.getResourceUri(int index) Output only.com.google.protobuf.ByteStringgetResourceUriBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampEnd of the lifetime of this deployment.com.google.protobuf.Timestamp.BuilderEnd of the lifetime of this deployment.com.google.protobuf.TimestampOrBuilderEnd of the lifetime of this deployment.Identity of the user that triggered this deployment.com.google.protobuf.ByteStringIdentity of the user that triggered this deployment.booleanRequired.booleanEnd of the lifetime of this deployment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDeployTime(com.google.protobuf.Timestamp value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Deployment other) mergeUndeployTime(com.google.protobuf.Timestamp value) End of the lifetime of this deployment.setAddress(String value) Address of the runtime element hosting this deployment.setAddressBytes(com.google.protobuf.ByteString value) Address of the runtime element hosting this deployment.Configuration used to create this deployment.setConfigBytes(com.google.protobuf.ByteString value) Configuration used to create this deployment.setDeployTime(com.google.protobuf.Timestamp value) Required.setDeployTime(com.google.protobuf.Timestamp.Builder builderForValue) Required.setPlatform(Deployment.Platform value) Platform hosting this deployment.setPlatformValue(int value) Platform hosting this deployment.setResourceUri(int index, String value) Output only.setUndeployTime(com.google.protobuf.Timestamp value) End of the lifetime of this deployment.setUndeployTime(com.google.protobuf.Timestamp.Builder builderForValue) End of the lifetime of this deployment.setUserEmail(String value) Identity of the user that triggered this deployment.setUserEmailBytes(com.google.protobuf.ByteString value) Identity of the user that triggered this deployment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>- Throws:
IOException
-
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.
-
setUserEmail
Identity of the user that triggered this deployment.
string user_email = 1;- Parameters:
value- The userEmail to set.- Returns:
- This builder for chaining.
-
clearUserEmail
Identity of the user that triggered this deployment.
string user_email = 1;- Returns:
- This builder for chaining.
-
setUserEmailBytes
Identity of the user that triggered this deployment.
string user_email = 1;- Parameters:
value- The bytes for userEmail to set.- Returns:
- This builder for chaining.
-
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.
-
setDeployTime
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2; -
setDeployTime
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2; -
mergeDeployTime
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2; -
clearDeployTime
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2; -
getDeployTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeployTimeBuilder()Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2; -
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.
-
setUndeployTime
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3; -
setUndeployTime
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3; -
mergeUndeployTime
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3; -
clearUndeployTime
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3; -
getUndeployTimeBuilder
public com.google.protobuf.Timestamp.Builder getUndeployTimeBuilder()End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3; -
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
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.
-
setConfig
Configuration used to create this deployment.
string config = 4;- Parameters:
value- The config to set.- Returns:
- This builder for chaining.
-
clearConfig
Configuration used to create this deployment.
string config = 4;- Returns:
- This builder for chaining.
-
setConfigBytes
Configuration used to create this deployment.
string config = 4;- Parameters:
value- The bytes for config to set.- Returns:
- This builder for chaining.
-
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.
-
setAddress
Address of the runtime element hosting this deployment.
string address = 5;- Parameters:
value- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
Address of the runtime element hosting this deployment.
string address = 5;- Returns:
- This builder for chaining.
-
setAddressBytes
Address of the runtime element hosting this deployment.
string address = 5;- Parameters:
value- The bytes for address to set.- Returns:
- This builder for chaining.
-
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
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.
-
setResourceUri
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Parameters:
index- The index to set the value at.value- The resourceUri to set.- Returns:
- This builder for chaining.
-
addResourceUri
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Parameters:
value- The resourceUri to add.- Returns:
- This builder for chaining.
-
addAllResourceUri
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Parameters:
values- The resourceUri to add.- Returns:
- This builder for chaining.
-
clearResourceUri
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Returns:
- This builder for chaining.
-
addResourceUriBytes
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;- Parameters:
value- The bytes of the resourceUri to add.- Returns:
- This builder for chaining.
-
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.
-
setPlatformValue
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Parameters:
value- The enum numeric value on the wire for platform to set.- Returns:
- This builder for chaining.
-
getPlatform
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Specified by:
getPlatformin interfaceDeploymentOrBuilder- Returns:
- The platform.
-
setPlatform
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Parameters:
value- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;- Returns:
- This builder for chaining.
-