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
Static Fields
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
Field Value
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
SCHEME_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Url getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Url.Builder newBuilder()
Returns
newBuilder(Url prototype)
public static Url.Builder newBuilder(Url prototype)
Parameter
Name | Description |
prototype | Url
|
Returns
public static Url parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Url parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Url parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Url parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Url parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Url parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Url parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Url parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Url parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Url parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Url> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Url getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<Url> getParserForType()
Returns
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
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Url.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Url.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Url.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions