public static final class MeshRouteView.Builder extends GeneratedMessageV3.Builder<MeshRouteView.Builder> implements MeshRouteViewOrBuilder
MeshRouteView defines view-only resource for Routes to a Mesh
Protobuf type google.cloud.networkservices.v1.MeshRouteView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MeshRouteView.BuilderImplements
MeshRouteViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MeshRouteView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
build()
public MeshRouteView build()
Returns | |
---|---|
Type | Description |
MeshRouteView |
buildPartial()
public MeshRouteView buildPartial()
Returns | |
---|---|
Type | Description |
MeshRouteView |
clear()
public MeshRouteView.Builder clear()
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
clearField(Descriptors.FieldDescriptor field)
public MeshRouteView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
clearName()
public MeshRouteView.Builder clearName()
Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MeshRouteView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
clearRouteId()
public MeshRouteView.Builder clearRouteId()
Output only. The resource id for the route.
string route_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
This builder for chaining. |
clearRouteLocation()
public MeshRouteView.Builder clearRouteLocation()
Output only. Location where the route exists.
string route_location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
This builder for chaining. |
clearRouteProjectNumber()
public MeshRouteView.Builder clearRouteProjectNumber()
Output only. Project number where the route exists.
int64 route_project_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
This builder for chaining. |
clearRouteType()
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
clone()
public MeshRouteView.Builder clone()
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
getDefaultInstanceForType()
public MeshRouteView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MeshRouteView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/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 MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/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(MeshRouteView other)
public MeshRouteView.Builder mergeFrom(MeshRouteView other)
Parameter | |
---|---|
Name | Description |
other |
MeshRouteView |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MeshRouteView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MeshRouteView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MeshRouteView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MeshRouteView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
setName(String value)
public MeshRouteView.Builder setName(String value)
Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/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 |
MeshRouteView.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MeshRouteView.Builder setNameBytes(ByteString value)
Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/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 |
MeshRouteView.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MeshRouteView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |
setRouteId(String value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteIdBytes(ByteString value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteLocation(String value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteLocationBytes(ByteString value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteProjectNumber(long value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteType(String value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setRouteTypeBytes(ByteString value)
public MeshRouteView.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 |
MeshRouteView.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MeshRouteView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MeshRouteView.Builder |