public static final class Protos.Parameter.Builder extends <any> implements Protos.ParameterOrBuilder
A generic (key, value) pair used in various places for parameters.Protobuf type
mesos.Parameter
Modifier and Type | Method and Description |
---|---|
Protos.Parameter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Parameter |
build() |
Protos.Parameter |
buildPartial() |
Protos.Parameter.Builder |
clear() |
Protos.Parameter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Parameter.Builder |
clearKey()
required string key = 1; |
Protos.Parameter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Parameter.Builder |
clearValue()
required string value = 2; |
Protos.Parameter.Builder |
clone() |
Protos.Parameter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
java.lang.String |
getValue()
required string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 2; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
required string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Parameter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Parameter.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Parameter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Parameter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Parameter.Builder |
setKey(java.lang.String value)
required string key = 1; |
Protos.Parameter.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1; |
Protos.Parameter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Parameter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Parameter.Builder |
setValue(java.lang.String value)
required string value = 2; |
Protos.Parameter.Builder |
setValueBytes(com.google.protobuf.ByteString value)
required string value = 2; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Parameter.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Parameter getDefaultInstanceForType()
public Protos.Parameter build()
public Protos.Parameter buildPartial()
public Protos.Parameter.Builder clone()
public Protos.Parameter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Parameter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Parameter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Parameter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Parameter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Parameter.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Parameter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasKey()
required string key = 1;
hasKey
in interface Protos.ParameterOrBuilder
public java.lang.String getKey()
required string key = 1;
getKey
in interface Protos.ParameterOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
required string key = 1;
getKeyBytes
in interface Protos.ParameterOrBuilder
public Protos.Parameter.Builder setKey(java.lang.String value)
required string key = 1;
public Protos.Parameter.Builder clearKey()
required string key = 1;
public Protos.Parameter.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;
public boolean hasValue()
required string value = 2;
hasValue
in interface Protos.ParameterOrBuilder
public java.lang.String getValue()
required string value = 2;
getValue
in interface Protos.ParameterOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 2;
getValueBytes
in interface Protos.ParameterOrBuilder
public Protos.Parameter.Builder setValue(java.lang.String value)
required string value = 2;
public Protos.Parameter.Builder clearValue()
required string value = 2;
public Protos.Parameter.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 2;
public final Protos.Parameter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Parameter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)