- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
The period during which some deployable was active in a runtime.
Protobuf type grafeas.v1beta1.deployment.Deployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Deployment.BuilderImplements
DeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceUri(Iterable<String> values)
public Deployment.Builder addAllResourceUri(Iterable<String> values)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The resourceUri to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
addResourceUri(String value)
public Deployment.Builder addResourceUri(String value)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;
Parameter | |
---|---|
Name | Description |
value |
String The resourceUri to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
addResourceUriBytes(ByteString value)
public Deployment.Builder addResourceUriBytes(ByteString value)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the resourceUri to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
build()
public Deployment build()
Returns | |
---|---|
Type | Description |
Deployment |
buildPartial()
public Deployment buildPartial()
Returns | |
---|---|
Type | Description |
Deployment |
clear()
public Deployment.Builder clear()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearAddress()
public Deployment.Builder clearAddress()
Address of the runtime element hosting this deployment.
string address = 5;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearConfig()
public Deployment.Builder clearConfig()
Configuration used to create this deployment.
string config = 4;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearDeployTime()
public Deployment.Builder clearDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearPlatform()
public Deployment.Builder clearPlatform()
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearResourceUri()
public Deployment.Builder 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 | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearUndeployTime()
public Deployment.Builder clearUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearUserEmail()
public Deployment.Builder clearUserEmail()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clone()
public Deployment.Builder clone()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
getAddress()
public String getAddress()
Address of the runtime element hosting this deployment.
string address = 5;
Returns | |
---|---|
Type | Description |
String |
The address. |
getAddressBytes()
public ByteString getAddressBytes()
Address of the runtime element hosting this deployment.
string address = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for address. |
getConfig()
public String getConfig()
Configuration used to create this deployment.
string config = 4;
Returns | |
---|---|
Type | Description |
String |
The config. |
getConfigBytes()
public ByteString getConfigBytes()
Configuration used to create this deployment.
string config = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for config. |
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Deployment |
getDeployTime()
public Timestamp getDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The deployTime. |
getDeployTimeBuilder()
public Timestamp.Builder getDeployTimeBuilder()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getDeployTimeOrBuilder()
public TimestampOrBuilder getDeployTimeOrBuilder()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPlatform()
public Deployment.Platform getPlatform()
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
Returns | |
---|---|
Type | Description |
Deployment.Platform |
The platform. |
getPlatformValue()
public int getPlatformValue()
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for platform. |
getResourceUri(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The resourceUri at the given index. |
getResourceUriBytes(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the resourceUri at the given index. |
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;
Returns | |
---|---|
Type | Description |
int |
The count of resourceUri. |
getResourceUriList()
public 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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the resourceUri. |
getUndeployTime()
public Timestamp getUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp |
The undeployTime. |
getUndeployTimeBuilder()
public Timestamp.Builder getUndeployTimeBuilder()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getUndeployTimeOrBuilder()
public TimestampOrBuilder getUndeployTimeOrBuilder()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUserEmail()
public String getUserEmail()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns | |
---|---|
Type | Description |
String |
The userEmail. |
getUserEmailBytes()
public ByteString getUserEmailBytes()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for userEmail. |
hasDeployTime()
public boolean hasDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the deployTime field is set. |
hasUndeployTime()
public boolean hasUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the undeployTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDeployTime(Timestamp value)
public Deployment.Builder mergeDeployTime(Timestamp value)
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
Parameter | |
---|---|
Name | Description |
other |
Deployment |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeUndeployTime(Timestamp value)
public Deployment.Builder mergeUndeployTime(Timestamp value)
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setAddress(String value)
public Deployment.Builder setAddress(String value)
Address of the runtime element hosting this deployment.
string address = 5;
Parameter | |
---|---|
Name | Description |
value |
String The address to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setAddressBytes(ByteString value)
public Deployment.Builder setAddressBytes(ByteString value)
Address of the runtime element hosting this deployment.
string address = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for address to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setConfig(String value)
public Deployment.Builder setConfig(String value)
Configuration used to create this deployment.
string config = 4;
Parameter | |
---|---|
Name | Description |
value |
String The config to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setConfigBytes(ByteString value)
public Deployment.Builder setConfigBytes(ByteString value)
Configuration used to create this deployment.
string config = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for config to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setDeployTime(Timestamp value)
public Deployment.Builder setDeployTime(Timestamp value)
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setDeployTime(Timestamp.Builder builderForValue)
public Deployment.Builder setDeployTime(Timestamp.Builder builderForValue)
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setPlatform(Deployment.Platform value)
public Deployment.Builder setPlatform(Deployment.Platform value)
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
Parameter | |
---|---|
Name | Description |
value |
Deployment.Platform The platform to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setPlatformValue(int value)
public Deployment.Builder setPlatformValue(int value)
Platform hosting this deployment.
.grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for platform to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setResourceUri(int index, String value)
public Deployment.Builder setResourceUri(int index, String value)
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
repeated string resource_uri = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The resourceUri to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setUndeployTime(Timestamp value)
public Deployment.Builder setUndeployTime(Timestamp value)
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setUndeployTime(Timestamp.Builder builderForValue)
public Deployment.Builder setUndeployTime(Timestamp.Builder builderForValue)
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setUserEmail(String value)
public Deployment.Builder setUserEmail(String value)
Identity of the user that triggered this deployment.
string user_email = 1;
Parameter | |
---|---|
Name | Description |
value |
String The userEmail to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setUserEmailBytes(ByteString value)
public Deployment.Builder setUserEmailBytes(ByteString value)
Identity of the user that triggered this deployment.
string user_email = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userEmail to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |