Send feedback
Class PacketMirroringNetworkInfo.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
public static final class PacketMirroringNetworkInfo . Builder extends GeneratedMessageV3 . Builder<PacketMirroringNetworkInfo . Builder > implements PacketMirroringNetworkInfoOrBuilder
Protobuf type google.cloud.compute.v1.PacketMirroringNetworkInfo
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringNetworkInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PacketMirroringNetworkInfo build ()
Returns
buildPartial()
public PacketMirroringNetworkInfo buildPartial ()
Returns
clear()
public PacketMirroringNetworkInfo . Builder clear ()
Returns
Overrides
clearCanonicalUrl()
public PacketMirroringNetworkInfo . Builder clearCanonicalUrl ()
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Returns
clearField(Descriptors.FieldDescriptor field)
public PacketMirroringNetworkInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PacketMirroringNetworkInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUrl()
public PacketMirroringNetworkInfo . Builder clearUrl ()
URL of the network resource.
optional string url = 116079;
Returns
clone()
public PacketMirroringNetworkInfo . Builder clone ()
Returns
Overrides
getCanonicalUrl()
public String getCanonicalUrl ()
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Returns
Type Description String The canonicalUrl.
getCanonicalUrlBytes()
public ByteString getCanonicalUrlBytes ()
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Returns
Type Description ByteString The bytes for canonicalUrl.
getDefaultInstanceForType()
public PacketMirroringNetworkInfo getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getUrl()
URL of the network resource.
optional string url = 116079;
Returns
getUrlBytes()
public ByteString getUrlBytes ()
URL of the network resource.
optional string url = 116079;
Returns
hasCanonicalUrl()
public boolean hasCanonicalUrl ()
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Returns
Type Description boolean Whether the canonicalUrl field is set.
hasUrl()
URL of the network resource.
optional string url = 116079;
Returns
Type Description boolean Whether the url field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PacketMirroringNetworkInfo other)
public PacketMirroringNetworkInfo . Builder mergeFrom ( PacketMirroringNetworkInfo other )
Parameter
Returns
public PacketMirroringNetworkInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PacketMirroringNetworkInfo . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringNetworkInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCanonicalUrl(String value)
public PacketMirroringNetworkInfo . Builder setCanonicalUrl ( String value )
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Parameter
Name Description value String
The canonicalUrl to set.
Returns
setCanonicalUrlBytes(ByteString value)
public PacketMirroringNetworkInfo . Builder setCanonicalUrlBytes ( ByteString value )
[Output Only] Unique identifier for the network; defined by the server.
optional string canonical_url = 512294820;
Parameter
Name Description value ByteString
The bytes for canonicalUrl to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringNetworkInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PacketMirroringNetworkInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringNetworkInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUrl(String value)
public PacketMirroringNetworkInfo . Builder setUrl ( String value )
URL of the network resource.
optional string url = 116079;
Parameter
Name Description value String
The url to set.
Returns
setUrlBytes(ByteString value)
public PacketMirroringNetworkInfo . Builder setUrlBytes ( ByteString value )
URL of the network resource.
optional string url = 116079;
Parameter
Name Description value ByteString
The bytes for url to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]