Send feedback
Class Url (2.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.56.0 keyboard_arrow_down
public final class Url extends GeneratedMessageV3 implements UrlOrBuilder
The proto definition of url.
A url represents a URL and the general form represented is:
scheme:// [path]
Protobuf type google.cloud.apigeeconnect.v1.Url
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
Field Value
Type
Description
int
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
Type
Description
int
SCHEME_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Url getDefaultInstance ()
Returns
Type
Description
Url
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Url . Builder newBuilder ()
newBuilder(Url prototype)
public static Url . Builder newBuilder ( Url prototype )
Parameter
Name
Description
prototype
Url
public static Url parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Url
public static Url parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
parseFrom(byte[] data)
public static Url parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Url
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
parseFrom(ByteString data)
public static Url parseFrom ( ByteString data )
Returns
Type
Description
Url
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
public static Url parseFrom ( CodedInputStream input )
Returns
Type
Description
Url
public static Url parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
public static Url parseFrom ( InputStream input )
Returns
Type
Description
Url
public static Url parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
parseFrom(ByteBuffer data)
public static Url parseFrom ( ByteBuffer data )
Returns
Type
Description
Url
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Url
parser()
public static Parser<Url> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Url getDefaultInstanceForType ()
Returns
Type
Description
Url
getHost()
Host or Host:Port.
string host = 2;
Returns
Type
Description
String
The host.
getHostBytes()
public ByteString getHostBytes ()
Host or Host:Port.
string host = 2;
Returns
Type
Description
ByteString
The bytes for host.
getParserForType()
public Parser<Url> getParserForType ()
Overrides
getPath()
Path starts with /
.
string path = 3;
Returns
Type
Description
String
The path.
getPathBytes()
public ByteString getPathBytes ()
Path starts with /
.
string path = 3;
Returns
Type
Description
ByteString
The bytes for path.
getScheme()
public Scheme getScheme ()
Scheme.
.google.cloud.apigeeconnect.v1.Scheme scheme = 1;
Returns
Type
Description
Scheme
The scheme.
getSchemeValue()
public int getSchemeValue ()
Scheme.
.google.cloud.apigeeconnect.v1.Scheme scheme = 1;
Returns
Type
Description
int
The enum numeric value on the wire for scheme.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Url . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Url . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Url . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
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-02-05 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-02-05 UTC."],[],[]]