public static final class Protos.Ports.Builder extends <any> implements Protos.PortsOrBuilder
Collection of ports.Protobuf type
mesos.Ports
Modifier and Type | Method and Description |
---|---|
Protos.Ports.Builder |
addAllPorts(java.lang.Iterable<? extends Protos.Port> values)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
addPorts(int index,
Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
addPorts(int index,
Protos.Port value)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
addPorts(Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
addPorts(Protos.Port value)
repeated .mesos.Port ports = 1; |
Protos.Port.Builder |
addPortsBuilder()
repeated .mesos.Port ports = 1; |
Protos.Port.Builder |
addPortsBuilder(int index)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Ports |
build() |
Protos.Ports |
buildPartial() |
Protos.Ports.Builder |
clear() |
Protos.Ports.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Ports.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Ports.Builder |
clearPorts()
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
clone() |
Protos.Ports |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Port |
getPorts(int index)
repeated .mesos.Port ports = 1; |
Protos.Port.Builder |
getPortsBuilder(int index)
repeated .mesos.Port ports = 1; |
java.util.List<Protos.Port.Builder> |
getPortsBuilderList()
repeated .mesos.Port ports = 1; |
int |
getPortsCount()
repeated .mesos.Port ports = 1; |
java.util.List<Protos.Port> |
getPortsList()
repeated .mesos.Port ports = 1; |
Protos.PortOrBuilder |
getPortsOrBuilder(int index)
repeated .mesos.Port ports = 1; |
java.util.List<? extends Protos.PortOrBuilder> |
getPortsOrBuilderList()
repeated .mesos.Port ports = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Ports.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Ports.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Ports.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Ports.Builder |
removePorts(int index)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Ports.Builder |
setPorts(int index,
Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
setPorts(int index,
Protos.Port value)
repeated .mesos.Port ports = 1; |
Protos.Ports.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Ports.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Ports.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Ports getDefaultInstanceForType()
public Protos.Ports build()
public Protos.Ports buildPartial()
public Protos.Ports.Builder clone()
public Protos.Ports.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Ports.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Ports.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Ports.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Ports.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Ports.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Ports.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.Port> getPortsList()
repeated .mesos.Port ports = 1;
getPortsList
in interface Protos.PortsOrBuilder
public int getPortsCount()
repeated .mesos.Port ports = 1;
getPortsCount
in interface Protos.PortsOrBuilder
public Protos.Port getPorts(int index)
repeated .mesos.Port ports = 1;
getPorts
in interface Protos.PortsOrBuilder
public Protos.Ports.Builder setPorts(int index, Protos.Port value)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder setPorts(int index, Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder addPorts(Protos.Port value)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder addPorts(int index, Protos.Port value)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder addPorts(Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder addPorts(int index, Protos.Port.Builder builderForValue)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder addAllPorts(java.lang.Iterable<? extends Protos.Port> values)
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder clearPorts()
repeated .mesos.Port ports = 1;
public Protos.Ports.Builder removePorts(int index)
repeated .mesos.Port ports = 1;
public Protos.Port.Builder getPortsBuilder(int index)
repeated .mesos.Port ports = 1;
public Protos.PortOrBuilder getPortsOrBuilder(int index)
repeated .mesos.Port ports = 1;
getPortsOrBuilder
in interface Protos.PortsOrBuilder
public java.util.List<? extends Protos.PortOrBuilder> getPortsOrBuilderList()
repeated .mesos.Port ports = 1;
getPortsOrBuilderList
in interface Protos.PortsOrBuilder
public Protos.Port.Builder addPortsBuilder()
repeated .mesos.Port ports = 1;
public Protos.Port.Builder addPortsBuilder(int index)
repeated .mesos.Port ports = 1;
public java.util.List<Protos.Port.Builder> getPortsBuilderList()
repeated .mesos.Port ports = 1;
public final Protos.Ports.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Ports.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)