- 1.55.0 (latest)
- 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 InstanceInfoOrBuilder
For 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The networkTags to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The networkTags to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the networkTags to add. |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
build()
public InstanceInfo build()
Returns | |
---|---|
Type | Description |
InstanceInfo |
buildPartial()
public InstanceInfo buildPartial()
Returns | |
---|---|
Type | Description |
InstanceInfo |
clear()
public InstanceInfo.Builder clear()
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
clearDisplayName()
public InstanceInfo.Builder clearDisplayName()
Name of a Compute Engine instance.
string display_name = 1;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearExternalIp()
public InstanceInfo.Builder clearExternalIp()
External IP address of the network interface.
string external_ip = 6;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InstanceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
clearInterface()
public InstanceInfo.Builder clearInterface()
Name of the network interface of a Compute Engine instance.
string interface = 3;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearInternalIp()
public InstanceInfo.Builder clearInternalIp()
Internal IP address of the network interface.
string internal_ip = 5;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearNetworkTags()
public InstanceInfo.Builder clearNetworkTags()
Network tags configured on the instance.
repeated string network_tags = 7;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearNetworkUri()
public InstanceInfo.Builder clearNetworkUri()
URI of a Compute Engine network.
string network_uri = 4;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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=268
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clearUri()
public InstanceInfo.Builder clearUri()
URI of a Compute Engine instance.
string uri = 2;
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
clone()
public InstanceInfo.Builder clone()
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
getDefaultInstanceForType()
public InstanceInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InstanceInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name of a Compute Engine instance.
string display_name = 1;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a Compute Engine instance.
string display_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getExternalIp()
public String getExternalIp()
External IP address of the network interface.
string external_ip = 6;
Returns | |
---|---|
Type | Description |
String | The externalIp. |
getExternalIpBytes()
public ByteString getExternalIpBytes()
External IP address of the network interface.
string external_ip = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for externalIp. |
getInterface()
public String getInterface()
Name of the network interface of a Compute Engine instance.
string interface = 3;
Returns | |
---|---|
Type | Description |
String | The interface. |
getInterfaceBytes()
public ByteString getInterfaceBytes()
Name of the network interface of a Compute Engine instance.
string interface = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for interface. |
getInternalIp()
public String getInternalIp()
Internal IP address of the network interface.
string internal_ip = 5;
Returns | |
---|---|
Type | Description |
String | The internalIp. |
getInternalIpBytes()
public ByteString getInternalIpBytes()
Internal IP address of the network interface.
string internal_ip = 5;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int | The count of networkTags. |
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()
Network tags configured on the instance.
repeated string network_tags = 7;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the networkTags. |
getNetworkUri()
public String getNetworkUri()
URI of a Compute Engine network.
string network_uri = 4;
Returns | |
---|---|
Type | Description |
String | The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()
URI of a Compute Engine network.
string network_uri = 4;
Returns | |
---|---|
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=268
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
Returns | |
---|---|
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=268
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccount. |
getUri()
public String getUri()
URI of a Compute Engine instance.
string uri = 2;
Returns | |
---|---|
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
URI of a Compute Engine instance.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InstanceInfo other)
public InstanceInfo.Builder mergeFrom(InstanceInfo other)
Parameter | |
---|---|
Name | Description |
other | InstanceInfo |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
setDisplayName(String value)
public InstanceInfo.Builder setDisplayName(String value)
Name of a Compute Engine instance.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The externalIp to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for externalIp to set. |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The interface to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for interface to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The internalIp to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for internalIp to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The networkTags to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The networkUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for networkUri to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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=268
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | String The serviceAccount to set. |
Returns | |
---|---|
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=268
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder |
setUri(String value)
public InstanceInfo.Builder setUri(String value)
URI of a Compute Engine instance.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value | String The uri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
InstanceInfo.Builder | This builder for chaining. |