public static final class GatewayRouteView.Builder extends GeneratedMessageV3.Builder<GatewayRouteView.Builder> implements GatewayRouteViewOrBuilder
GatewayRouteView defines view-only resource for Routes to a Gateway
Protobuf type google.cloud.networkservices.v1.GatewayRouteView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GatewayRouteView.BuilderImplements
GatewayRouteViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GatewayRouteView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
build()
public GatewayRouteView build()
Returns | |
---|---|
Type | Description |
GatewayRouteView |
buildPartial()
public GatewayRouteView buildPartial()
Returns | |
---|---|
Type | Description |
GatewayRouteView |
clear()
public GatewayRouteView.Builder clear()
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
clearField(Descriptors.FieldDescriptor field)
public GatewayRouteView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
clearName()
public GatewayRouteView.Builder clearName()
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 |
GatewayRouteView.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GatewayRouteView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
clearRouteId()
public GatewayRouteView.Builder clearRouteId()
Output only. The resource id for the route.
string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
clearRouteLocation()
public GatewayRouteView.Builder clearRouteLocation()
Output only. Location where the route exists.
string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
clearRouteProjectNumber()
public GatewayRouteView.Builder clearRouteProjectNumber()
Output only. Project number where the route exists.
int64 route_project_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
clearRouteType()
public GatewayRouteView.Builder clearRouteType()
Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
string route_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
clone()
public GatewayRouteView.Builder clone()
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
getDefaultInstanceForType()
public GatewayRouteView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GatewayRouteView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GatewayRouteView other)
public GatewayRouteView.Builder mergeFrom(GatewayRouteView other)
Parameter | |
---|---|
Name | Description |
other |
GatewayRouteView |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GatewayRouteView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GatewayRouteView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GatewayRouteView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GatewayRouteView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
setName(String value)
public GatewayRouteView.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GatewayRouteView.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GatewayRouteView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
setRouteId(String value)
public GatewayRouteView.Builder setRouteId(String value)
Output only. The resource id for the route.
string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The routeId to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteIdBytes(ByteString value)
public GatewayRouteView.Builder setRouteIdBytes(ByteString value)
Output only. The resource id for the route.
string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for routeId to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteLocation(String value)
public GatewayRouteView.Builder setRouteLocation(String value)
Output only. Location where the route exists.
string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The routeLocation to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteLocationBytes(ByteString value)
public GatewayRouteView.Builder setRouteLocationBytes(ByteString value)
Output only. Location where the route exists.
string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for routeLocation to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteProjectNumber(long value)
public GatewayRouteView.Builder setRouteProjectNumber(long value)
Output only. Project number where the route exists.
int64 route_project_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The routeProjectNumber to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteType(String value)
public GatewayRouteView.Builder setRouteType(String value)
Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
string route_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The routeType to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setRouteTypeBytes(ByteString value)
public GatewayRouteView.Builder setRouteTypeBytes(ByteString value)
Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
string route_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for routeType to set. |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GatewayRouteView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GatewayRouteView.Builder |