- 1.79.0 (latest)
 - 1.77.0
 - 1.76.0
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.71.0
 - 1.69.0
 - 1.68.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.61.0
 - 1.60.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.50.0
 - 1.49.0
 - 1.48.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.38.0
 - 1.37.0
 - 1.36.0
 - 1.35.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.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.0
 - 1.10.0
 - 1.9.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.1.10
 
public static final class InstanceInfo.Builder extends GeneratedMessageV3.Builder<InstanceInfo.Builder> implements InstanceInfoOrBuilderFor display only. Metadata associated with a Compute Engine instance.
 Protobuf type google.cloud.networkmanagement.v1.InstanceInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceInfo.BuilderImplements
InstanceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
Descriptor | 
        
Methods
addAllNetworkTags(Iterable<String> values)
public InstanceInfo.Builder addAllNetworkTags(Iterable<String> values)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
values | 
        Iterable<String>The networkTags to add.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
addNetworkTags(String value)
public InstanceInfo.Builder addNetworkTags(String value)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
value | 
        StringThe networkTags to add.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
addNetworkTagsBytes(ByteString value)
public InstanceInfo.Builder addNetworkTagsBytes(ByteString value)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
value | 
        ByteStringThe bytes of the networkTags to add.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
build()
public InstanceInfo build()| Type | Description | 
InstanceInfo | 
        
buildPartial()
public InstanceInfo buildPartial()| Type | Description | 
InstanceInfo | 
        
clear()
public InstanceInfo.Builder clear()| Type | Description | 
InstanceInfo.Builder | 
        
clearDisplayName()
public InstanceInfo.Builder clearDisplayName()Name of a Compute Engine instance.
 string display_name = 1;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearExternalIp()
public InstanceInfo.Builder clearExternalIp()External IP address of the network interface.
 string external_ip = 6;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public InstanceInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
field | 
        FieldDescriptor | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
clearInterface()
public InstanceInfo.Builder clearInterface()Name of the network interface of a Compute Engine instance.
 string interface = 3;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearInternalIp()
public InstanceInfo.Builder clearInternalIp()Internal IP address of the network interface.
 string internal_ip = 5;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearNetworkTags()
public InstanceInfo.Builder clearNetworkTags()Network tags configured on the instance.
 repeated string network_tags = 7;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearNetworkUri()
public InstanceInfo.Builder clearNetworkUri()URI of a Compute Engine network.
 string network_uri = 4;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
clearServiceAccount() (deprecated)
public InstanceInfo.Builder clearServiceAccount()Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232
Service account authorized for the instance.
 string service_account = 8 [deprecated = true];
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clearUri()
public InstanceInfo.Builder clearUri()URI of a Compute Engine instance.
 string uri = 2;
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
clone()
public InstanceInfo.Builder clone()| Type | Description | 
InstanceInfo.Builder | 
        
getDefaultInstanceForType()
public InstanceInfo getDefaultInstanceForType()| Type | Description | 
InstanceInfo | 
        
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
Descriptor | 
        
getDisplayName()
public String getDisplayName()Name of a Compute Engine instance.
 string display_name = 1;
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Name of a Compute Engine instance.
 string display_name = 1;
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getExternalIp()
public String getExternalIp()External IP address of the network interface.
 string external_ip = 6;
| Type | Description | 
String | 
        The externalIp.  | 
      
getExternalIpBytes()
public ByteString getExternalIpBytes()External IP address of the network interface.
 string external_ip = 6;
| Type | Description | 
ByteString | 
        The bytes for externalIp.  | 
      
getInterface()
public String getInterface()Name of the network interface of a Compute Engine instance.
 string interface = 3;
| Type | Description | 
String | 
        The interface.  | 
      
getInterfaceBytes()
public ByteString getInterfaceBytes()Name of the network interface of a Compute Engine instance.
 string interface = 3;
| Type | Description | 
ByteString | 
        The bytes for interface.  | 
      
getInternalIp()
public String getInternalIp()Internal IP address of the network interface.
 string internal_ip = 5;
| Type | Description | 
String | 
        The internalIp.  | 
      
getInternalIpBytes()
public ByteString getInternalIpBytes()Internal IP address of the network interface.
 string internal_ip = 5;
| Type | Description | 
ByteString | 
        The bytes for internalIp.  | 
      
getNetworkTags(int index)
public String getNetworkTags(int index)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Type | Description | 
String | 
        The networkTags at the given index.  | 
      
getNetworkTagsBytes(int index)
public ByteString getNetworkTagsBytes(int index)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Type | Description | 
ByteString | 
        The bytes of the networkTags at the given index.  | 
      
getNetworkTagsCount()
public int getNetworkTagsCount()Network tags configured on the instance.
 repeated string network_tags = 7;
| Type | Description | 
int | 
        The count of networkTags.  | 
      
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()Network tags configured on the instance.
 repeated string network_tags = 7;
| Type | Description | 
ProtocolStringList | 
        A list containing the networkTags.  | 
      
getNetworkUri()
public String getNetworkUri()URI of a Compute Engine network.
 string network_uri = 4;
| Type | Description | 
String | 
        The networkUri.  | 
      
getNetworkUriBytes()
public ByteString getNetworkUriBytes()URI of a Compute Engine network.
 string network_uri = 4;
| Type | Description | 
ByteString | 
        The bytes for networkUri.  | 
      
getServiceAccount() (deprecated)
public String getServiceAccount()Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232
Service account authorized for the instance.
 string service_account = 8 [deprecated = true];
| Type | Description | 
String | 
        The serviceAccount.  | 
      
getServiceAccountBytes() (deprecated)
public ByteString getServiceAccountBytes()Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232
Service account authorized for the instance.
 string service_account = 8 [deprecated = true];
| Type | Description | 
ByteString | 
        The bytes for serviceAccount.  | 
      
getUri()
public String getUri()URI of a Compute Engine instance.
 string uri = 2;
| Type | Description | 
String | 
        The uri.  | 
      
getUriBytes()
public ByteString getUriBytes()URI of a Compute Engine instance.
 string uri = 2;
| Type | Description | 
ByteString | 
        The bytes for uri.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
FieldAccessorTable | 
        
isInitialized()
public final boolean isInitialized()| Type | Description | 
boolean | 
        
mergeFrom(InstanceInfo other)
public InstanceInfo.Builder mergeFrom(InstanceInfo other)| Name | Description | 
other | 
        InstanceInfo | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
| Type | Description | 
IOException | 
        
mergeFrom(Message other)
public InstanceInfo.Builder mergeFrom(Message other)| Name | Description | 
other | 
        Message | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
setDisplayName(String value)
public InstanceInfo.Builder setDisplayName(String value)Name of a Compute Engine instance.
 string display_name = 1;
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public InstanceInfo.Builder setDisplayNameBytes(ByteString value)Name of a Compute Engine instance.
 string display_name = 1;
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setExternalIp(String value)
public InstanceInfo.Builder setExternalIp(String value)External IP address of the network interface.
 string external_ip = 6;
| Name | Description | 
value | 
        StringThe externalIp to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setExternalIpBytes(ByteString value)
public InstanceInfo.Builder setExternalIpBytes(ByteString value)External IP address of the network interface.
 string external_ip = 6;
| Name | Description | 
value | 
        ByteStringThe bytes for externalIp to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
setInterface(String value)
public InstanceInfo.Builder setInterface(String value)Name of the network interface of a Compute Engine instance.
 string interface = 3;
| Name | Description | 
value | 
        StringThe interface to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setInterfaceBytes(ByteString value)
public InstanceInfo.Builder setInterfaceBytes(ByteString value)Name of the network interface of a Compute Engine instance.
 string interface = 3;
| Name | Description | 
value | 
        ByteStringThe bytes for interface to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setInternalIp(String value)
public InstanceInfo.Builder setInternalIp(String value)Internal IP address of the network interface.
 string internal_ip = 5;
| Name | Description | 
value | 
        StringThe internalIp to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setInternalIpBytes(ByteString value)
public InstanceInfo.Builder setInternalIpBytes(ByteString value)Internal IP address of the network interface.
 string internal_ip = 5;
| Name | Description | 
value | 
        ByteStringThe bytes for internalIp to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setNetworkTags(int index, String value)
public InstanceInfo.Builder setNetworkTags(int index, String value)Network tags configured on the instance.
 repeated string network_tags = 7;
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe networkTags to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setNetworkUri(String value)
public InstanceInfo.Builder setNetworkUri(String value)URI of a Compute Engine network.
 string network_uri = 4;
| Name | Description | 
value | 
        StringThe networkUri to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setNetworkUriBytes(ByteString value)
public InstanceInfo.Builder setNetworkUriBytes(ByteString value)URI of a Compute Engine network.
 string network_uri = 4;
| Name | Description | 
value | 
        ByteStringThe bytes for networkUri to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
setServiceAccount(String value) (deprecated)
public InstanceInfo.Builder setServiceAccount(String value)Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232
Service account authorized for the instance.
 string service_account = 8 [deprecated = true];
| Name | Description | 
value | 
        StringThe serviceAccount to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setServiceAccountBytes(ByteString value) (deprecated)
public InstanceInfo.Builder setServiceAccountBytes(ByteString value)Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232
Service account authorized for the instance.
 string service_account = 8 [deprecated = true];
| Name | Description | 
value | 
        ByteStringThe bytes for serviceAccount to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Type | Description | 
InstanceInfo.Builder | 
        
setUri(String value)
public InstanceInfo.Builder setUri(String value)URI of a Compute Engine instance.
 string uri = 2;
| Name | Description | 
value | 
        StringThe uri to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  | 
      
setUriBytes(ByteString value)
public InstanceInfo.Builder setUriBytes(ByteString value)URI of a Compute Engine instance.
 string uri = 2;
| Name | Description | 
value | 
        ByteStringThe bytes for uri to set.  | 
      
| Type | Description | 
InstanceInfo.Builder | 
        This builder for chaining.  |