public static final class SkaffoldVersion.Builder extends GeneratedMessageV3.Builder<SkaffoldVersion.Builder> implements SkaffoldVersionOrBuilder
Details of a supported Skaffold version.
Protobuf type google.cloud.deploy.v1.SkaffoldVersion
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SkaffoldVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SkaffoldVersion build()
Returns
buildPartial()
public SkaffoldVersion buildPartial()
Returns
clear()
public SkaffoldVersion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SkaffoldVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SkaffoldVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSupportEndDate()
public SkaffoldVersion.Builder clearSupportEndDate()
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Returns
clearVersion()
public SkaffoldVersion.Builder clearVersion()
Release version number. For example, "1.20.3".
string version = 1;
Returns
clone()
public SkaffoldVersion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SkaffoldVersion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSupportEndDate()
public Date getSupportEndDate()
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Returns
Type | Description |
com.google.type.Date | The supportEndDate.
|
getSupportEndDateBuilder()
public Date.Builder getSupportEndDateBuilder()
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Returns
Type | Description |
com.google.type.Date.Builder | |
getSupportEndDateOrBuilder()
public DateOrBuilder getSupportEndDateOrBuilder()
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Returns
Type | Description |
com.google.type.DateOrBuilder | |
getVersion()
public String getVersion()
Release version number. For example, "1.20.3".
string version = 1;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Release version number. For example, "1.20.3".
string version = 1;
Returns
hasSupportEndDate()
public boolean hasSupportEndDate()
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Returns
Type | Description |
boolean | Whether the supportEndDate field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SkaffoldVersion other)
public SkaffoldVersion.Builder mergeFrom(SkaffoldVersion other)
Parameter
Returns
public SkaffoldVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SkaffoldVersion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSupportEndDate(Date value)
public SkaffoldVersion.Builder mergeSupportEndDate(Date value)
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Parameter
Name | Description |
value | com.google.type.Date
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SkaffoldVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SkaffoldVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SkaffoldVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSupportEndDate(Date value)
public SkaffoldVersion.Builder setSupportEndDate(Date value)
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Parameter
Name | Description |
value | com.google.type.Date
|
Returns
setSupportEndDate(Date.Builder builderForValue)
public SkaffoldVersion.Builder setSupportEndDate(Date.Builder builderForValue)
Date when this version is expected to no longer be supported.
.google.type.Date support_end_date = 2;
Parameter
Name | Description |
builderForValue | com.google.type.Date.Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SkaffoldVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersion(String value)
public SkaffoldVersion.Builder setVersion(String value)
Release version number. For example, "1.20.3".
string version = 1;
Parameter
Name | Description |
value | String
The version to set.
|
Returns
setVersionBytes(ByteString value)
public SkaffoldVersion.Builder setVersionBytes(ByteString value)
Release version number. For example, "1.20.3".
string version = 1;
Parameter
Name | Description |
value | ByteString
The bytes for version to set.
|
Returns