public static final class Release.Builder extends GeneratedMessageV3.Builder<Release.Builder> implements ReleaseOrBuilder
Release
represents a versioned release containing kubernetes manifests.
Protobuf type google.cloud.configdelivery.v1beta.Release
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Release.BuilderImplements
ReleaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Release.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
build()
public Release build()
Returns | |
---|---|
Type | Description |
Release |
buildPartial()
public Release buildPartial()
Returns | |
---|---|
Type | Description |
Release |
clear()
public Release.Builder clear()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearCreateTime()
public Release.Builder clearCreateTime()
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearField(Descriptors.FieldDescriptor field)
public Release.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Release.Builder |
clearInfo()
public Release.Builder clearInfo()
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearLabels()
public Release.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearLifecycle()
public Release.Builder clearLifecycle()
Optional. lifecycle of the Release
.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
clearName()
public Release.Builder clearName()
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/a-z{0,62}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Release.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Release.Builder |
clearPublishTime()
public Release.Builder clearPublishTime()
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearUpdateTime()
public Release.Builder clearUpdateTime()
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearVersion()
public Release.Builder clearVersion()
Required. version of the Release
. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
clone()
public Release.Builder clone()
Returns | |
---|---|
Type | Description |
Release.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Release getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Release |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInfo()
public ReleaseInfo getInfo()
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReleaseInfo |
The info. |
getInfoBuilder()
public ReleaseInfo.Builder getInfoBuilder()
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReleaseInfo.Builder |
getInfoOrBuilder()
public ReleaseInfoOrBuilder getInfoOrBuilder()
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReleaseInfoOrBuilder |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLifecycle()
public Release.Lifecycle getLifecycle()
Optional. lifecycle of the Release
.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Release.Lifecycle |
The lifecycle. |
getLifecycleValue()
public int getLifecycleValue()
Optional. lifecycle of the Release
.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for lifecycle. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/a-z{0,62}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/a-z{0,62}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPublishTime()
public Timestamp getPublishTime()
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The publishTime. |
getPublishTimeBuilder()
public Timestamp.Builder getPublishTimeBuilder()
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getPublishTimeOrBuilder()
public TimestampOrBuilder getPublishTimeOrBuilder()
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVersion()
public String getVersion()
Required. version of the Release
. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
Required. version of the Release
. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasInfo()
public boolean hasInfo()
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the info field is set. |
hasPublishTime()
public boolean hasPublishTime()
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the publishTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Release.Builder mergeCreateTime(Timestamp value)
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeFrom(Release other)
public Release.Builder mergeFrom(Release other)
Parameter | |
---|---|
Name | Description |
other |
Release |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Release.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Release.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Release.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeInfo(ReleaseInfo value)
public Release.Builder mergeInfo(ReleaseInfo value)
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ReleaseInfo |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergePublishTime(Timestamp value)
public Release.Builder mergePublishTime(Timestamp value)
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Release.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeUpdateTime(Timestamp value)
public Release.Builder mergeUpdateTime(Timestamp value)
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllLabels(Map<String,String> values)
public Release.Builder putAllLabels(Map<String,String> values)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putLabels(String key, String value)
public Release.Builder putLabels(String key, String value)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeLabels(String key)
public Release.Builder removeLabels(String key)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCreateTime(Timestamp value)
public Release.Builder setCreateTime(Timestamp value)
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Release.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time Release
was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Release.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
setInfo(ReleaseInfo value)
public Release.Builder setInfo(ReleaseInfo value)
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ReleaseInfo |
Returns | |
---|---|
Type | Description |
Release.Builder |
setInfo(ReleaseInfo.Builder builderForValue)
public Release.Builder setInfo(ReleaseInfo.Builder builderForValue)
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
.google.cloud.configdelivery.v1beta.ReleaseInfo info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ReleaseInfo.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setLifecycle(Release.Lifecycle value)
public Release.Builder setLifecycle(Release.Lifecycle value)
Optional. lifecycle of the Release
.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Release.Lifecycle The lifecycle to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
setLifecycleValue(int value)
public Release.Builder setLifecycleValue(int value)
Optional. lifecycle of the Release
.
.google.cloud.configdelivery.v1beta.Release.Lifecycle lifecycle = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for lifecycle to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
setName(String value)
public Release.Builder setName(String value)
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/a-z{0,62}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Release.Builder setNameBytes(ByteString value)
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/a-z{0,62}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
setPublishTime(Timestamp value)
public Release.Builder setPublishTime(Timestamp value)
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setPublishTime(Timestamp.Builder builderForValue)
public Release.Builder setPublishTime(Timestamp.Builder builderForValue)
Output only. Time the Release
was published.
.google.protobuf.Timestamp publish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Release.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Release.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Release.Builder |
setUpdateTime(Timestamp value)
public Release.Builder setUpdateTime(Timestamp value)
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Release.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time Release
was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setVersion(String value)
public Release.Builder setVersion(String value)
Required. version of the Release
. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public Release.Builder setVersionBytes(ByteString value)
Required. version of the Release
. This must be v<major>.<minor>.<patch>.
string version = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Release.Builder |
This builder for chaining. |