Class SkaffoldVersion.Builder (1.0.2)

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

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

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

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

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.

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.

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

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

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

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

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.