public static final class Protos.VersionInfo.Builder extends <any> implements Protos.VersionInfoOrBuilder
Version information of a component.Protobuf type
mesos.VersionInfo
Modifier and Type | Method and Description |
---|---|
Protos.VersionInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.VersionInfo |
build() |
Protos.VersionInfo |
buildPartial() |
Protos.VersionInfo.Builder |
clear() |
Protos.VersionInfo.Builder |
clearBuildDate()
optional string build_date = 2; |
Protos.VersionInfo.Builder |
clearBuildTime()
optional double build_time = 3; |
Protos.VersionInfo.Builder |
clearBuildUser()
optional string build_user = 4; |
Protos.VersionInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.VersionInfo.Builder |
clearGitBranch()
optional string git_branch = 6; |
Protos.VersionInfo.Builder |
clearGitSha()
optional string git_sha = 5; |
Protos.VersionInfo.Builder |
clearGitTag()
optional string git_tag = 7; |
Protos.VersionInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.VersionInfo.Builder |
clearVersion()
required string version = 1; |
Protos.VersionInfo.Builder |
clone() |
java.lang.String |
getBuildDate()
optional string build_date = 2; |
com.google.protobuf.ByteString |
getBuildDateBytes()
optional string build_date = 2; |
double |
getBuildTime()
optional double build_time = 3; |
java.lang.String |
getBuildUser()
optional string build_user = 4; |
com.google.protobuf.ByteString |
getBuildUserBytes()
optional string build_user = 4; |
Protos.VersionInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getGitBranch()
optional string git_branch = 6; |
com.google.protobuf.ByteString |
getGitBranchBytes()
optional string git_branch = 6; |
java.lang.String |
getGitSha()
optional string git_sha = 5; |
com.google.protobuf.ByteString |
getGitShaBytes()
optional string git_sha = 5; |
java.lang.String |
getGitTag()
optional string git_tag = 7; |
com.google.protobuf.ByteString |
getGitTagBytes()
optional string git_tag = 7; |
java.lang.String |
getVersion()
required string version = 1; |
com.google.protobuf.ByteString |
getVersionBytes()
required string version = 1; |
boolean |
hasBuildDate()
optional string build_date = 2; |
boolean |
hasBuildTime()
optional double build_time = 3; |
boolean |
hasBuildUser()
optional string build_user = 4; |
boolean |
hasGitBranch()
optional string git_branch = 6; |
boolean |
hasGitSha()
optional string git_sha = 5; |
boolean |
hasGitTag()
optional string git_tag = 7; |
boolean |
hasVersion()
required string version = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.VersionInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.VersionInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.VersionInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.VersionInfo.Builder |
setBuildDate(java.lang.String value)
optional string build_date = 2; |
Protos.VersionInfo.Builder |
setBuildDateBytes(com.google.protobuf.ByteString value)
optional string build_date = 2; |
Protos.VersionInfo.Builder |
setBuildTime(double value)
optional double build_time = 3; |
Protos.VersionInfo.Builder |
setBuildUser(java.lang.String value)
optional string build_user = 4; |
Protos.VersionInfo.Builder |
setBuildUserBytes(com.google.protobuf.ByteString value)
optional string build_user = 4; |
Protos.VersionInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.VersionInfo.Builder |
setGitBranch(java.lang.String value)
optional string git_branch = 6; |
Protos.VersionInfo.Builder |
setGitBranchBytes(com.google.protobuf.ByteString value)
optional string git_branch = 6; |
Protos.VersionInfo.Builder |
setGitSha(java.lang.String value)
optional string git_sha = 5; |
Protos.VersionInfo.Builder |
setGitShaBytes(com.google.protobuf.ByteString value)
optional string git_sha = 5; |
Protos.VersionInfo.Builder |
setGitTag(java.lang.String value)
optional string git_tag = 7; |
Protos.VersionInfo.Builder |
setGitTagBytes(com.google.protobuf.ByteString value)
optional string git_tag = 7; |
Protos.VersionInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.VersionInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.VersionInfo.Builder |
setVersion(java.lang.String value)
required string version = 1; |
Protos.VersionInfo.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
required string version = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.VersionInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.VersionInfo getDefaultInstanceForType()
public Protos.VersionInfo build()
public Protos.VersionInfo buildPartial()
public Protos.VersionInfo.Builder clone()
public Protos.VersionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.VersionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.VersionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.VersionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.VersionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.VersionInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.VersionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasVersion()
required string version = 1;
hasVersion
in interface Protos.VersionInfoOrBuilder
public java.lang.String getVersion()
required string version = 1;
getVersion
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
required string version = 1;
getVersionBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setVersion(java.lang.String value)
required string version = 1;
public Protos.VersionInfo.Builder clearVersion()
required string version = 1;
public Protos.VersionInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
required string version = 1;
public boolean hasBuildDate()
optional string build_date = 2;
hasBuildDate
in interface Protos.VersionInfoOrBuilder
public java.lang.String getBuildDate()
optional string build_date = 2;
getBuildDate
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getBuildDateBytes()
optional string build_date = 2;
getBuildDateBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setBuildDate(java.lang.String value)
optional string build_date = 2;
public Protos.VersionInfo.Builder clearBuildDate()
optional string build_date = 2;
public Protos.VersionInfo.Builder setBuildDateBytes(com.google.protobuf.ByteString value)
optional string build_date = 2;
public boolean hasBuildTime()
optional double build_time = 3;
hasBuildTime
in interface Protos.VersionInfoOrBuilder
public double getBuildTime()
optional double build_time = 3;
getBuildTime
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setBuildTime(double value)
optional double build_time = 3;
public Protos.VersionInfo.Builder clearBuildTime()
optional double build_time = 3;
public boolean hasBuildUser()
optional string build_user = 4;
hasBuildUser
in interface Protos.VersionInfoOrBuilder
public java.lang.String getBuildUser()
optional string build_user = 4;
getBuildUser
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getBuildUserBytes()
optional string build_user = 4;
getBuildUserBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setBuildUser(java.lang.String value)
optional string build_user = 4;
public Protos.VersionInfo.Builder clearBuildUser()
optional string build_user = 4;
public Protos.VersionInfo.Builder setBuildUserBytes(com.google.protobuf.ByteString value)
optional string build_user = 4;
public boolean hasGitSha()
optional string git_sha = 5;
hasGitSha
in interface Protos.VersionInfoOrBuilder
public java.lang.String getGitSha()
optional string git_sha = 5;
getGitSha
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getGitShaBytes()
optional string git_sha = 5;
getGitShaBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setGitSha(java.lang.String value)
optional string git_sha = 5;
public Protos.VersionInfo.Builder clearGitSha()
optional string git_sha = 5;
public Protos.VersionInfo.Builder setGitShaBytes(com.google.protobuf.ByteString value)
optional string git_sha = 5;
public boolean hasGitBranch()
optional string git_branch = 6;
hasGitBranch
in interface Protos.VersionInfoOrBuilder
public java.lang.String getGitBranch()
optional string git_branch = 6;
getGitBranch
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getGitBranchBytes()
optional string git_branch = 6;
getGitBranchBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setGitBranch(java.lang.String value)
optional string git_branch = 6;
public Protos.VersionInfo.Builder clearGitBranch()
optional string git_branch = 6;
public Protos.VersionInfo.Builder setGitBranchBytes(com.google.protobuf.ByteString value)
optional string git_branch = 6;
public boolean hasGitTag()
optional string git_tag = 7;
hasGitTag
in interface Protos.VersionInfoOrBuilder
public java.lang.String getGitTag()
optional string git_tag = 7;
getGitTag
in interface Protos.VersionInfoOrBuilder
public com.google.protobuf.ByteString getGitTagBytes()
optional string git_tag = 7;
getGitTagBytes
in interface Protos.VersionInfoOrBuilder
public Protos.VersionInfo.Builder setGitTag(java.lang.String value)
optional string git_tag = 7;
public Protos.VersionInfo.Builder clearGitTag()
optional string git_tag = 7;
public Protos.VersionInfo.Builder setGitTagBytes(com.google.protobuf.ByteString value)
optional string git_tag = 7;
public final Protos.VersionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.VersionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)