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)
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)
Overrides
toBuilder()
public Url.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides