public static final class InstanceInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder> implements InstanceInfoOrBuilder
For display only. Metadata associated with a Compute Engine instance.Protobuf type
google.cloud.networkmanagement.v1beta1.InstanceInfo| Modifier and Type | Method and Description |
|---|---|
InstanceInfo.Builder |
addAllNetworkTags(Iterable<String> values)
Network tags configured on the instance.
|
InstanceInfo.Builder |
addNetworkTags(String value)
Network tags configured on the instance.
|
InstanceInfo.Builder |
addNetworkTagsBytes(com.google.protobuf.ByteString value)
Network tags configured on the instance.
|
InstanceInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceInfo |
build() |
InstanceInfo |
buildPartial() |
InstanceInfo.Builder |
clear() |
InstanceInfo.Builder |
clearDisplayName()
Name of a Compute Engine instance.
|
InstanceInfo.Builder |
clearExternalIp()
External IP address of the network interface.
|
InstanceInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceInfo.Builder |
clearInterface()
Name of the network interface of a Compute Engine instance.
|
InstanceInfo.Builder |
clearInternalIp()
Internal IP address of the network interface.
|
InstanceInfo.Builder |
clearNetworkTags()
Network tags configured on the instance.
|
InstanceInfo.Builder |
clearNetworkUri()
URI of a Compute Engine network.
|
InstanceInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceInfo.Builder |
clearServiceAccount()
Deprecated.
google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
|
InstanceInfo.Builder |
clearUri()
URI of a Compute Engine instance.
|
InstanceInfo.Builder |
clone() |
InstanceInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Name of a Compute Engine instance.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Name of a Compute Engine instance.
|
String |
getExternalIp()
External IP address of the network interface.
|
com.google.protobuf.ByteString |
getExternalIpBytes()
External IP address of the network interface.
|
String |
getInterface()
Name of the network interface of a Compute Engine instance.
|
com.google.protobuf.ByteString |
getInterfaceBytes()
Name of the network interface of a Compute Engine instance.
|
String |
getInternalIp()
Internal IP address of the network interface.
|
com.google.protobuf.ByteString |
getInternalIpBytes()
Internal IP address of the network interface.
|
String |
getNetworkTags(int index)
Network tags configured on the instance.
|
com.google.protobuf.ByteString |
getNetworkTagsBytes(int index)
Network tags configured on the instance.
|
int |
getNetworkTagsCount()
Network tags configured on the instance.
|
com.google.protobuf.ProtocolStringList |
getNetworkTagsList()
Network tags configured on the instance.
|
String |
getNetworkUri()
URI of a Compute Engine network.
|
com.google.protobuf.ByteString |
getNetworkUriBytes()
URI of a Compute Engine network.
|
String |
getServiceAccount()
Deprecated.
google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Deprecated.
google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
|
String |
getUri()
URI of a Compute Engine instance.
|
com.google.protobuf.ByteString |
getUriBytes()
URI of a Compute Engine instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstanceInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceInfo.Builder |
mergeFrom(InstanceInfo other) |
InstanceInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceInfo.Builder |
setDisplayName(String value)
Name of a Compute Engine instance.
|
InstanceInfo.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Name of a Compute Engine instance.
|
InstanceInfo.Builder |
setExternalIp(String value)
External IP address of the network interface.
|
InstanceInfo.Builder |
setExternalIpBytes(com.google.protobuf.ByteString value)
External IP address of the network interface.
|
InstanceInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceInfo.Builder |
setInterface(String value)
Name of the network interface of a Compute Engine instance.
|
InstanceInfo.Builder |
setInterfaceBytes(com.google.protobuf.ByteString value)
Name of the network interface of a Compute Engine instance.
|
InstanceInfo.Builder |
setInternalIp(String value)
Internal IP address of the network interface.
|
InstanceInfo.Builder |
setInternalIpBytes(com.google.protobuf.ByteString value)
Internal IP address of the network interface.
|
InstanceInfo.Builder |
setNetworkTags(int index,
String value)
Network tags configured on the instance.
|
InstanceInfo.Builder |
setNetworkUri(String value)
URI of a Compute Engine network.
|
InstanceInfo.Builder |
setNetworkUriBytes(com.google.protobuf.ByteString value)
URI of a Compute Engine network.
|
InstanceInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceInfo.Builder |
setServiceAccount(String value)
Deprecated.
google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
|
InstanceInfo.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is
deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=245
|
InstanceInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceInfo.Builder |
setUri(String value)
URI of a Compute Engine instance.
|
InstanceInfo.Builder |
setUriBytes(com.google.protobuf.ByteString value)
URI of a Compute Engine instance.
|
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<InstanceInfo.Builder>public InstanceInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.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<InstanceInfo.Builder>public InstanceInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>public InstanceInfo.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<InstanceInfo.Builder>public InstanceInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>public InstanceInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>public InstanceInfo.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<InstanceInfo.Builder>public InstanceInfo.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<InstanceInfo.Builder>public InstanceInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceInfo.Builder>public InstanceInfo.Builder mergeFrom(InstanceInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>public InstanceInfo.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<InstanceInfo.Builder>IOExceptionpublic String getDisplayName()
Name of a Compute Engine instance.
string display_name = 1;getDisplayName in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Name of a Compute Engine instance.
string display_name = 1;getDisplayNameBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setDisplayName(String value)
Name of a Compute Engine instance.
string display_name = 1;value - The displayName to set.public InstanceInfo.Builder clearDisplayName()
Name of a Compute Engine instance.
string display_name = 1;public InstanceInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Name of a Compute Engine instance.
string display_name = 1;value - The bytes for displayName to set.public String getUri()
URI of a Compute Engine instance.
string uri = 2;getUri in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
URI of a Compute Engine instance.
string uri = 2;getUriBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setUri(String value)
URI of a Compute Engine instance.
string uri = 2;value - The uri to set.public InstanceInfo.Builder clearUri()
URI of a Compute Engine instance.
string uri = 2;public InstanceInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
URI of a Compute Engine instance.
string uri = 2;value - The bytes for uri to set.public String getInterface()
Name of the network interface of a Compute Engine instance.
string interface = 3;getInterface in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getInterfaceBytes()
Name of the network interface of a Compute Engine instance.
string interface = 3;getInterfaceBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setInterface(String value)
Name of the network interface of a Compute Engine instance.
string interface = 3;value - The interface to set.public InstanceInfo.Builder clearInterface()
Name of the network interface of a Compute Engine instance.
string interface = 3;public InstanceInfo.Builder setInterfaceBytes(com.google.protobuf.ByteString value)
Name of the network interface of a Compute Engine instance.
string interface = 3;value - The bytes for interface to set.public String getNetworkUri()
URI of a Compute Engine network.
string network_uri = 4;getNetworkUri in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getNetworkUriBytes()
URI of a Compute Engine network.
string network_uri = 4;getNetworkUriBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setNetworkUri(String value)
URI of a Compute Engine network.
string network_uri = 4;value - The networkUri to set.public InstanceInfo.Builder clearNetworkUri()
URI of a Compute Engine network.
string network_uri = 4;public InstanceInfo.Builder setNetworkUriBytes(com.google.protobuf.ByteString value)
URI of a Compute Engine network.
string network_uri = 4;value - The bytes for networkUri to set.public String getInternalIp()
Internal IP address of the network interface.
string internal_ip = 5;getInternalIp in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getInternalIpBytes()
Internal IP address of the network interface.
string internal_ip = 5;getInternalIpBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setInternalIp(String value)
Internal IP address of the network interface.
string internal_ip = 5;value - The internalIp to set.public InstanceInfo.Builder clearInternalIp()
Internal IP address of the network interface.
string internal_ip = 5;public InstanceInfo.Builder setInternalIpBytes(com.google.protobuf.ByteString value)
Internal IP address of the network interface.
string internal_ip = 5;value - The bytes for internalIp to set.public String getExternalIp()
External IP address of the network interface.
string external_ip = 6;getExternalIp in interface InstanceInfoOrBuilderpublic com.google.protobuf.ByteString getExternalIpBytes()
External IP address of the network interface.
string external_ip = 6;getExternalIpBytes in interface InstanceInfoOrBuilderpublic InstanceInfo.Builder setExternalIp(String value)
External IP address of the network interface.
string external_ip = 6;value - The externalIp to set.public InstanceInfo.Builder clearExternalIp()
External IP address of the network interface.
string external_ip = 6;public InstanceInfo.Builder setExternalIpBytes(com.google.protobuf.ByteString value)
External IP address of the network interface.
string external_ip = 6;value - The bytes for externalIp to set.public com.google.protobuf.ProtocolStringList getNetworkTagsList()
Network tags configured on the instance.
repeated string network_tags = 7;getNetworkTagsList in interface InstanceInfoOrBuilderpublic int getNetworkTagsCount()
Network tags configured on the instance.
repeated string network_tags = 7;getNetworkTagsCount in interface InstanceInfoOrBuilderpublic String getNetworkTags(int index)
Network tags configured on the instance.
repeated string network_tags = 7;getNetworkTags in interface InstanceInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
Network tags configured on the instance.
repeated string network_tags = 7;getNetworkTagsBytes in interface InstanceInfoOrBuilderindex - The index of the value to return.public InstanceInfo.Builder setNetworkTags(int index, String value)
Network tags configured on the instance.
repeated string network_tags = 7;index - The index to set the value at.value - The networkTags to set.public InstanceInfo.Builder addNetworkTags(String value)
Network tags configured on the instance.
repeated string network_tags = 7;value - The networkTags to add.public InstanceInfo.Builder addAllNetworkTags(Iterable<String> values)
Network tags configured on the instance.
repeated string network_tags = 7;values - The networkTags to add.public InstanceInfo.Builder clearNetworkTags()
Network tags configured on the instance.
repeated string network_tags = 7;public InstanceInfo.Builder addNetworkTagsBytes(com.google.protobuf.ByteString value)
Network tags configured on the instance.
repeated string network_tags = 7;value - The bytes of the networkTags to add.@Deprecated public String getServiceAccount()
Service account authorized for the instance.
string service_account = 8 [deprecated = true];getServiceAccount in interface InstanceInfoOrBuilder@Deprecated public com.google.protobuf.ByteString getServiceAccountBytes()
Service account authorized for the instance.
string service_account = 8 [deprecated = true];getServiceAccountBytes in interface InstanceInfoOrBuilder@Deprecated public InstanceInfo.Builder setServiceAccount(String value)
Service account authorized for the instance.
string service_account = 8 [deprecated = true];value - The serviceAccount to set.@Deprecated public InstanceInfo.Builder clearServiceAccount()
Service account authorized for the instance.
string service_account = 8 [deprecated = true];@Deprecated public InstanceInfo.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Service account authorized for the instance.
string service_account = 8 [deprecated = true];value - The bytes for serviceAccount to set.public final InstanceInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>public final InstanceInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceInfo.Builder>Copyright © 2022 Google LLC. All rights reserved.