- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 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
InstanceWithNamedPortsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.NamedPort> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | NamedPort |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | NamedPort.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | NamedPort |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NamedPort.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NamedPort.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceWithNamedPorts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
build()
public InstanceWithNamedPorts build()
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts |
buildPartial()
public InstanceWithNamedPorts buildPartial()
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts |
clear()
public InstanceWithNamedPorts.Builder clear()
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceWithNamedPorts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
clearInstance()
public InstanceWithNamedPorts.Builder clearInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceWithNamedPorts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
clone()
public InstanceWithNamedPorts.Builder clone()
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
getDefaultInstanceForType()
public InstanceWithNamedPorts getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstance()
public String getInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Returns | |
---|---|
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for status. |
hasInstance()
public boolean hasInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InstanceWithNamedPorts other)
public InstanceWithNamedPorts.Builder mergeFrom(InstanceWithNamedPorts other)
Parameter | |
---|---|
Name | Description |
other | InstanceWithNamedPorts |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceWithNamedPorts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceWithNamedPorts.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceWithNamedPorts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceWithNamedPorts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
setInstance(String value)
public InstanceWithNamedPorts.Builder setInstance(String value)
[Output Only] The URL of the instance.
optional string instance = 18257045;
Parameter | |
---|---|
Name | Description |
value | String The instance to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instance to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | NamedPort |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NamedPort.Builder |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceWithNamedPorts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The status to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for status to set. |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceWithNamedPorts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceWithNamedPorts.Builder |