- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class InstanceWithNamedPorts.Builder extends GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder> implements InstanceWithNamedPortsOrBuilder
Protobuf type google.cloud.compute.v1.InstanceWithNamedPorts
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceWithNamedPorts.BuilderImplements
InstanceWithNamedPortsOrBuilderMethods
addAllNamedPorts(Iterable<? extends NamedPort> values)
public InstanceWithNamedPorts.Builder addAllNamedPorts(Iterable<? extends NamedPort> values)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.NamedPort> |
Type | Description |
InstanceWithNamedPorts.Builder |
addNamedPorts(NamedPort value)
public InstanceWithNamedPorts.Builder addNamedPorts(NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
value | NamedPort |
Type | Description |
InstanceWithNamedPorts.Builder |
addNamedPorts(NamedPort.Builder builderForValue)
public InstanceWithNamedPorts.Builder addNamedPorts(NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
builderForValue | NamedPort.Builder |
Type | Description |
InstanceWithNamedPorts.Builder |
addNamedPorts(int index, NamedPort value)
public InstanceWithNamedPorts.Builder addNamedPorts(int index, NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
value | NamedPort |
Type | Description |
InstanceWithNamedPorts.Builder |
addNamedPorts(int index, NamedPort.Builder builderForValue)
public InstanceWithNamedPorts.Builder addNamedPorts(int index, NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
builderForValue | NamedPort.Builder |
Type | Description |
InstanceWithNamedPorts.Builder |
addNamedPortsBuilder()
public NamedPort.Builder addNamedPortsBuilder()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
NamedPort.Builder |
addNamedPortsBuilder(int index)
public NamedPort.Builder addNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
Type | Description |
NamedPort.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceWithNamedPorts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceWithNamedPorts.Builder |
build()
public InstanceWithNamedPorts build()
Type | Description |
InstanceWithNamedPorts |
buildPartial()
public InstanceWithNamedPorts buildPartial()
Type | Description |
InstanceWithNamedPorts |
clear()
public InstanceWithNamedPorts.Builder clear()
Type | Description |
InstanceWithNamedPorts.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceWithNamedPorts.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InstanceWithNamedPorts.Builder |
clearInstance()
public InstanceWithNamedPorts.Builder clearInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
clearNamedPorts()
public InstanceWithNamedPorts.Builder clearNamedPorts()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
InstanceWithNamedPorts.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceWithNamedPorts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InstanceWithNamedPorts.Builder |
clearStatus()
public InstanceWithNamedPorts.Builder clearStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
clone()
public InstanceWithNamedPorts.Builder clone()
Type | Description |
InstanceWithNamedPorts.Builder |
getDefaultInstanceForType()
public InstanceWithNamedPorts getDefaultInstanceForType()
Type | Description |
InstanceWithNamedPorts |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInstance()
public String getInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Type | Description |
ByteString | The bytes for instance. |
getNamedPorts(int index)
public NamedPort getNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
Type | Description |
NamedPort |
getNamedPortsBuilder(int index)
public NamedPort.Builder getNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
Type | Description |
NamedPort.Builder |
getNamedPortsBuilderList()
public List<NamedPort.Builder> getNamedPortsBuilderList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
List<Builder> |
getNamedPortsCount()
public int getNamedPortsCount()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
int |
getNamedPortsList()
public List<NamedPort> getNamedPortsList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
List<NamedPort> |
getNamedPortsOrBuilder(int index)
public NamedPortOrBuilder getNamedPortsOrBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
Type | Description |
NamedPortOrBuilder |
getNamedPortsOrBuilderList()
public List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Type | Description |
List<? extends com.google.cloud.compute.v1.NamedPortOrBuilder> |
getStatus()
public String getStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
String | The status. |
getStatusBytes()
public ByteString getStatusBytes()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
ByteString | The bytes for status. |
hasInstance()
public boolean hasInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Type | Description |
boolean | Whether the instance field is set. |
hasStatus()
public boolean hasStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Type | Description |
boolean | Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InstanceWithNamedPorts other)
public InstanceWithNamedPorts.Builder mergeFrom(InstanceWithNamedPorts other)
Name | Description |
other | InstanceWithNamedPorts |
Type | Description |
InstanceWithNamedPorts.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceWithNamedPorts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InstanceWithNamedPorts.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceWithNamedPorts.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InstanceWithNamedPorts.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceWithNamedPorts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceWithNamedPorts.Builder |
removeNamedPorts(int index)
public InstanceWithNamedPorts.Builder removeNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
Type | Description |
InstanceWithNamedPorts.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceWithNamedPorts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InstanceWithNamedPorts.Builder |
setInstance(String value)
public InstanceWithNamedPorts.Builder setInstance(String value)
[Output Only] The URL of the instance.
optional string instance = 18257045;
Name | Description |
value | String The instance to set. |
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
setInstanceBytes(ByteString value)
public InstanceWithNamedPorts.Builder setInstanceBytes(ByteString value)
[Output Only] The URL of the instance.
optional string instance = 18257045;
Name | Description |
value | ByteString The bytes for instance to set. |
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
setNamedPorts(int index, NamedPort value)
public InstanceWithNamedPorts.Builder setNamedPorts(int index, NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
value | NamedPort |
Type | Description |
InstanceWithNamedPorts.Builder |
setNamedPorts(int index, NamedPort.Builder builderForValue)
public InstanceWithNamedPorts.Builder setNamedPorts(int index, NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
Name | Description |
index | int |
builderForValue | NamedPort.Builder |
Type | Description |
InstanceWithNamedPorts.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceWithNamedPorts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InstanceWithNamedPorts.Builder |
setStatus(String value)
public InstanceWithNamedPorts.Builder setStatus(String value)
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Name | Description |
value | String The status to set. |
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
setStatusBytes(ByteString value)
public InstanceWithNamedPorts.Builder setStatusBytes(ByteString value)
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;
Name | Description |
value | ByteString The bytes for status to set. |
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceWithNamedPorts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InstanceWithNamedPorts.Builder |