public static final class InstanceWithNamedPorts.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder> implements InstanceWithNamedPortsOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceWithNamedPorts| Modifier and Type | Method and Description |
|---|---|
InstanceWithNamedPorts.Builder |
addAllNamedPorts(Iterable<? extends NamedPort> values)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
addNamedPorts(int index,
NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
addNamedPorts(int index,
NamedPort value)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
addNamedPorts(NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
addNamedPorts(NamedPort value)
[Output Only] The named ports that belong to this instance group.
|
NamedPort.Builder |
addNamedPortsBuilder()
[Output Only] The named ports that belong to this instance group.
|
NamedPort.Builder |
addNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceWithNamedPorts |
build() |
InstanceWithNamedPorts |
buildPartial() |
InstanceWithNamedPorts.Builder |
clear() |
InstanceWithNamedPorts.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceWithNamedPorts.Builder |
clearInstance()
[Output Only] The URL of the instance.
|
InstanceWithNamedPorts.Builder |
clearNamedPorts()
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceWithNamedPorts.Builder |
clearStatus()
[Output Only] The status of the instance.
|
InstanceWithNamedPorts.Builder |
clone() |
InstanceWithNamedPorts |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInstance()
[Output Only] The URL of the instance.
|
com.google.protobuf.ByteString |
getInstanceBytes()
[Output Only] The URL of the instance.
|
NamedPort |
getNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
|
NamedPort.Builder |
getNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
|
List<NamedPort.Builder> |
getNamedPortsBuilderList()
[Output Only] The named ports that belong to this instance group.
|
int |
getNamedPortsCount()
[Output Only] The named ports that belong to this instance group.
|
List<NamedPort> |
getNamedPortsList()
[Output Only] The named ports that belong to this instance group.
|
NamedPortOrBuilder |
getNamedPortsOrBuilder(int index)
[Output Only] The named ports that belong to this instance group.
|
List<? extends NamedPortOrBuilder> |
getNamedPortsOrBuilderList()
[Output Only] The named ports that belong to this instance group.
|
String |
getStatus()
[Output Only] The status of the instance.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the instance.
|
boolean |
hasInstance()
[Output Only] The URL of the instance.
|
boolean |
hasStatus()
[Output Only] The status of the instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstanceWithNamedPorts.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceWithNamedPorts.Builder |
mergeFrom(InstanceWithNamedPorts other) |
InstanceWithNamedPorts.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceWithNamedPorts.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceWithNamedPorts.Builder |
removeNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceWithNamedPorts.Builder |
setInstance(String value)
[Output Only] The URL of the instance.
|
InstanceWithNamedPorts.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the instance.
|
InstanceWithNamedPorts.Builder |
setNamedPorts(int index,
NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
setNamedPorts(int index,
NamedPort value)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceWithNamedPorts.Builder |
setStatus(String value)
[Output Only] The status of the instance.
|
InstanceWithNamedPorts.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the instance.
|
InstanceWithNamedPorts.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceWithNamedPorts build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceWithNamedPorts buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceWithNamedPorts.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder mergeFrom(InstanceWithNamedPorts other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public InstanceWithNamedPorts.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceWithNamedPorts.Builder>IOExceptionpublic boolean hasInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;hasInstance in interface InstanceWithNamedPortsOrBuilderpublic String getInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;getInstance in interface InstanceWithNamedPortsOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
[Output Only] The URL of the instance.
optional string instance = 18257045;getInstanceBytes in interface InstanceWithNamedPortsOrBuilderpublic InstanceWithNamedPorts.Builder setInstance(String value)
[Output Only] The URL of the instance.
optional string instance = 18257045;value - The instance to set.public InstanceWithNamedPorts.Builder clearInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;public InstanceWithNamedPorts.Builder setInstanceBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the instance.
optional string instance = 18257045;value - The bytes for instance to set.public List<NamedPort> getNamedPortsList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;getNamedPortsList in interface InstanceWithNamedPortsOrBuilderpublic int getNamedPortsCount()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;getNamedPortsCount in interface InstanceWithNamedPortsOrBuilderpublic NamedPort getNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;getNamedPorts in interface InstanceWithNamedPortsOrBuilderpublic 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;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;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;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;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;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;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;public InstanceWithNamedPorts.Builder clearNamedPorts()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;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;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;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;getNamedPortsOrBuilder in interface InstanceWithNamedPortsOrBuilderpublic List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;getNamedPortsOrBuilderList in interface InstanceWithNamedPortsOrBuilderpublic NamedPort.Builder addNamedPortsBuilder()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;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;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;public boolean hasStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface InstanceWithNamedPortsOrBuilderpublic String getStatus()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface InstanceWithNamedPortsOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface InstanceWithNamedPortsOrBuilderpublic 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;value - The status to set.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;public InstanceWithNamedPorts.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public final InstanceWithNamedPorts.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>public final InstanceWithNamedPorts.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>Copyright © 2023 Google LLC. All rights reserved.