Class SkaffoldVersion.Builder (1.16.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

build()

public SkaffoldVersion build()
Returns
TypeDescription
SkaffoldVersion

buildPartial()

public SkaffoldVersion buildPartial()
Returns
TypeDescription
SkaffoldVersion

clear()

public SkaffoldVersion.Builder clear()
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SkaffoldVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

clearMaintenanceModeTime()

public SkaffoldVersion.Builder clearMaintenanceModeTime()

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Returns
TypeDescription
SkaffoldVersion.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SkaffoldVersion.Builder
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
TypeDescription
SkaffoldVersion.Builder

clearSupportExpirationTime()

public SkaffoldVersion.Builder clearSupportExpirationTime()

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Returns
TypeDescription
SkaffoldVersion.Builder

clearVersion()

public SkaffoldVersion.Builder clearVersion()

Release version number. For example, "1.20.3".

string version = 1;

Returns
TypeDescription
SkaffoldVersion.Builder

This builder for chaining.

clone()

public SkaffoldVersion.Builder clone()
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

getDefaultInstanceForType()

public SkaffoldVersion getDefaultInstanceForType()
Returns
TypeDescription
SkaffoldVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaintenanceModeTime()

public Timestamp getMaintenanceModeTime()

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Returns
TypeDescription
Timestamp

The maintenanceModeTime.

getMaintenanceModeTimeBuilder()

public Timestamp.Builder getMaintenanceModeTimeBuilder()

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Returns
TypeDescription
Builder

getMaintenanceModeTimeOrBuilder()

public TimestampOrBuilder getMaintenanceModeTimeOrBuilder()

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getSupportEndDate()

public Date getSupportEndDate()

Date when this version is expected to no longer be supported.

.google.type.Date support_end_date = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.DateOrBuilder

getSupportExpirationTime()

public Timestamp getSupportExpirationTime()

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Returns
TypeDescription
Timestamp

The supportExpirationTime.

getSupportExpirationTimeBuilder()

public Timestamp.Builder getSupportExpirationTimeBuilder()

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Returns
TypeDescription
Builder

getSupportExpirationTimeOrBuilder()

public TimestampOrBuilder getSupportExpirationTimeOrBuilder()

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getVersion()

public String getVersion()

Release version number. For example, "1.20.3".

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Release version number. For example, "1.20.3".

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

hasMaintenanceModeTime()

public boolean hasMaintenanceModeTime()

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Returns
TypeDescription
boolean

Whether the maintenanceModeTime field is set.

hasSupportEndDate()

public boolean hasSupportEndDate()

Date when this version is expected to no longer be supported.

.google.type.Date support_end_date = 2;

Returns
TypeDescription
boolean

Whether the supportEndDate field is set.

hasSupportExpirationTime()

public boolean hasSupportExpirationTime()

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Returns
TypeDescription
boolean

Whether the supportExpirationTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SkaffoldVersion other)

public SkaffoldVersion.Builder mergeFrom(SkaffoldVersion other)
Parameter
NameDescription
otherSkaffoldVersion
Returns
TypeDescription
SkaffoldVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkaffoldVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SkaffoldVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

mergeMaintenanceModeTime(Timestamp value)

public SkaffoldVersion.Builder mergeMaintenanceModeTime(Timestamp value)

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SkaffoldVersion.Builder

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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
SkaffoldVersion.Builder

mergeSupportExpirationTime(Timestamp value)

public SkaffoldVersion.Builder mergeSupportExpirationTime(Timestamp value)

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SkaffoldVersion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

setMaintenanceModeTime(Timestamp value)

public SkaffoldVersion.Builder setMaintenanceModeTime(Timestamp value)

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SkaffoldVersion.Builder

setMaintenanceModeTime(Timestamp.Builder builderForValue)

public SkaffoldVersion.Builder setMaintenanceModeTime(Timestamp.Builder builderForValue)

The time at which this version of skaffold will enter maintenance mode.

.google.protobuf.Timestamp maintenance_mode_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SkaffoldVersion.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SkaffoldVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SkaffoldVersion.Builder
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
SkaffoldVersion.Builder

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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
SkaffoldVersion.Builder

setSupportExpirationTime(Timestamp value)

public SkaffoldVersion.Builder setSupportExpirationTime(Timestamp value)

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SkaffoldVersion.Builder

setSupportExpirationTime(Timestamp.Builder builderForValue)

public SkaffoldVersion.Builder setSupportExpirationTime(Timestamp.Builder builderForValue)

The time at which this version of skaffold will no longer be supported.

.google.protobuf.Timestamp support_expiration_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SkaffoldVersion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkaffoldVersion.Builder
Overrides

setVersion(String value)

public SkaffoldVersion.Builder setVersion(String value)

Release version number. For example, "1.20.3".

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
SkaffoldVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public SkaffoldVersion.Builder setVersionBytes(ByteString value)

Release version number. For example, "1.20.3".

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
SkaffoldVersion.Builder

This builder for chaining.