Class GatewayRouteView (0.23.0)

public final class GatewayRouteView extends GeneratedMessageV3 implements GatewayRouteViewOrBuilder

GatewayRouteView defines view-only resource for Routes to a Gateway

Protobuf type google.cloud.networkservices.v1.GatewayRouteView

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_ID_FIELD_NUMBER

public static final int ROUTE_ID_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_LOCATION_FIELD_NUMBER

public static final int ROUTE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_PROJECT_NUMBER_FIELD_NUMBER

public static final int ROUTE_PROJECT_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_TYPE_FIELD_NUMBER

public static final int ROUTE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GatewayRouteView getDefaultInstance()
Returns
Type Description
GatewayRouteView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GatewayRouteView.Builder newBuilder()
Returns
Type Description
GatewayRouteView.Builder

newBuilder(GatewayRouteView prototype)

public static GatewayRouteView.Builder newBuilder(GatewayRouteView prototype)
Parameter
Name Description
prototype GatewayRouteView
Returns
Type Description
GatewayRouteView.Builder

parseDelimitedFrom(InputStream input)

public static GatewayRouteView parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GatewayRouteView parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GatewayRouteView parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GatewayRouteView parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GatewayRouteView parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GatewayRouteView parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GatewayRouteView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GatewayRouteView
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GatewayRouteView> parser()
Returns
Type Description
Parser<GatewayRouteView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GatewayRouteView getDefaultInstanceForType()
Returns
Type Description
GatewayRouteView

getName()

public String getName()

Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<GatewayRouteView> getParserForType()
Returns
Type Description
Parser<GatewayRouteView>
Overrides

getRouteId()

public String getRouteId()

Output only. The resource id for the route.

string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The routeId.

getRouteIdBytes()

public ByteString getRouteIdBytes()

Output only. The resource id for the route.

string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for routeId.

getRouteLocation()

public String getRouteLocation()

Output only. Location where the route exists.

string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The routeLocation.

getRouteLocationBytes()

public ByteString getRouteLocationBytes()

Output only. Location where the route exists.

string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for routeLocation.

getRouteProjectNumber()

public long getRouteProjectNumber()

Output only. Project number where the route exists.

int64 route_project_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The routeProjectNumber.

getRouteType()

public String getRouteType()

Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

string route_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The routeType.

getRouteTypeBytes()

public ByteString getRouteTypeBytes()

Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

string route_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for routeType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GatewayRouteView.Builder newBuilderForType()
Returns
Type Description
GatewayRouteView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GatewayRouteView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GatewayRouteView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GatewayRouteView.Builder toBuilder()
Returns
Type Description
GatewayRouteView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException