public static final class NetworkInfo.Builder extends GeneratedMessageV3.Builder<NetworkInfo.Builder> implements NetworkInfoOrBuilder
For display only. Metadata associated with a Compute Engine network.
Protobuf type google.events.cloud.networkmanagement.v1.NetworkInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkInfo.BuilderImplements
NetworkInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
build()
public NetworkInfo build()
Returns | |
---|---|
Type | Description |
NetworkInfo |
buildPartial()
public NetworkInfo buildPartial()
Returns | |
---|---|
Type | Description |
NetworkInfo |
clear()
public NetworkInfo.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearDisplayName()
public NetworkInfo.Builder clearDisplayName()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearMatchedIpRange()
public NetworkInfo.Builder clearMatchedIpRange()
The IP range that matches the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearUri()
public NetworkInfo.Builder clearUri()
URI of a Compute Engine network.
string uri = 2;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clone()
public NetworkInfo.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
getDefaultInstanceForType()
public NetworkInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getMatchedIpRange()
public String getMatchedIpRange()
The IP range that matches the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
String |
The matchedIpRange. |
getMatchedIpRangeBytes()
public ByteString getMatchedIpRangeBytes()
The IP range that matches the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for matchedIpRange. |
getUri()
public String getUri()
URI of a Compute Engine network.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
URI of a Compute Engine network.
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(NetworkInfo other)
public NetworkInfo.Builder mergeFrom(NetworkInfo other)
Parameter | |
---|---|
Name | Description |
other |
NetworkInfo |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setDisplayName(String value)
public NetworkInfo.Builder setDisplayName(String value)
Name of a Compute Engine network.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public NetworkInfo.Builder setDisplayNameBytes(ByteString value)
Name of a Compute Engine network.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setMatchedIpRange(String value)
public NetworkInfo.Builder setMatchedIpRange(String value)
The IP range that matches the test.
string matched_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value |
String The matchedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setMatchedIpRangeBytes(ByteString value)
public NetworkInfo.Builder setMatchedIpRangeBytes(ByteString value)
The IP range that matches the test.
string matched_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for matchedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setUri(String value)
public NetworkInfo.Builder setUri(String value)
URI of a Compute Engine network.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public NetworkInfo.Builder setUriBytes(ByteString value)
URI of a Compute Engine network.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |