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.v1beta1.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)