- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 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.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class DeploymentOccurrence.Builder extends GeneratedMessageV3.Builder<DeploymentOccurrence.Builder> implements DeploymentOccurrenceOrBuilder
The period during which some deployable was active in a runtime.
Protobuf type grafeas.v1.DeploymentOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeploymentOccurrence.BuilderImplements
DeploymentOccurrenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceUri(Iterable<String> values)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeploymentOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
addResourceUri(String value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
addResourceUriBytes(ByteString value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
build()
public DeploymentOccurrence build()
Returns | |
---|---|
Type | Description |
DeploymentOccurrence |
buildPartial()
public DeploymentOccurrence buildPartial()
Returns | |
---|---|
Type | Description |
DeploymentOccurrence |
clear()
public DeploymentOccurrence.Builder clear()
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
clearAddress()
public DeploymentOccurrence.Builder clearAddress()
Address of the runtime element hosting this deployment.
string address = 5;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
clearConfig()
public DeploymentOccurrence.Builder clearConfig()
Configuration used to create this deployment.
string config = 4;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
clearDeployTime()
public DeploymentOccurrence.Builder clearDeployTime()
Required. Beginning of the lifetime of this deployment.
.google.protobuf.Timestamp deploy_time = 2;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeploymentOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeploymentOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
clearPlatform()
public DeploymentOccurrence.Builder clearPlatform()
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
clearResourceUri()
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
clearUndeployTime()
public DeploymentOccurrence.Builder clearUndeployTime()
End of the lifetime of this deployment.
.google.protobuf.Timestamp undeploy_time = 3;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
clearUserEmail()
public DeploymentOccurrence.Builder clearUserEmail()
Identity of the user that triggered this deployment.
string user_email = 1;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
clone()
public DeploymentOccurrence.Builder clone()
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.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 DeploymentOccurrence getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeploymentOccurrence |
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 DeploymentOccurrence.Platform getPlatform()
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Platform | The platform. |
getPlatformValue()
public int getPlatformValue()
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.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 DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeploymentOccurrence.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
mergeFrom(DeploymentOccurrence other)
public DeploymentOccurrence.Builder mergeFrom(DeploymentOccurrence other)
Parameter | |
---|---|
Name | Description |
other | DeploymentOccurrence |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
mergeUndeployTime(Timestamp value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
setAddress(String value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setAddressBytes(ByteString value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setConfig(String value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setConfigBytes(ByteString value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setDeployTime(Timestamp value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
setDeployTime(Timestamp.Builder builderForValue)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeploymentOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
setPlatform(DeploymentOccurrence.Platform value)
public DeploymentOccurrence.Builder setPlatform(DeploymentOccurrence.Platform value)
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Parameter | |
---|---|
Name | Description |
value | DeploymentOccurrence.Platform The platform to set. |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
setPlatformValue(int value)
public DeploymentOccurrence.Builder setPlatformValue(int value)
Platform hosting this deployment.
.grafeas.v1.DeploymentOccurrence.Platform platform = 7;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for platform to set. |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeploymentOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
setResourceUri(int index, String value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setUndeployTime(Timestamp value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
setUndeployTime(Timestamp.Builder builderForValue)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeploymentOccurrence.Builder |
setUserEmail(String value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |
setUserEmailBytes(ByteString value)
public DeploymentOccurrence.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 |
DeploymentOccurrence.Builder | This builder for chaining. |