public static final class CreateGrpcRouteRequest.Builder extends GeneratedMessageV3.Builder<CreateGrpcRouteRequest.Builder> implements CreateGrpcRouteRequestOrBuilder
Request used by the CreateGrpcRoute method.
Protobuf type google.cloud.networkservices.v1.CreateGrpcRouteRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGrpcRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGrpcRouteRequest build()
buildPartial()
public CreateGrpcRouteRequest buildPartial()
clear()
public CreateGrpcRouteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGrpcRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGrpcRoute()
public CreateGrpcRouteRequest.Builder clearGrpcRoute()
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
clearGrpcRouteId()
public CreateGrpcRouteRequest.Builder clearGrpcRouteId()
Required. Short name of the GrpcRoute resource to be created.
string grpc_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGrpcRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateGrpcRouteRequest.Builder clearParent()
Required. The parent resource of the GrpcRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateGrpcRouteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGrpcRouteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGrpcRoute()
public GrpcRoute getGrpcRoute()
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
GrpcRoute |
The grpcRoute.
|
getGrpcRouteBuilder()
public GrpcRoute.Builder getGrpcRouteBuilder()
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
getGrpcRouteId()
public String getGrpcRouteId()
Required. Short name of the GrpcRoute resource to be created.
string grpc_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The grpcRouteId.
|
getGrpcRouteIdBytes()
public ByteString getGrpcRouteIdBytes()
Required. Short name of the GrpcRoute resource to be created.
string grpc_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for grpcRouteId.
|
getGrpcRouteOrBuilder()
public GrpcRouteOrBuilder getGrpcRouteOrBuilder()
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The parent resource of the GrpcRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource of the GrpcRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasGrpcRoute()
public boolean hasGrpcRoute()
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the grpcRoute field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGrpcRouteRequest other)
public CreateGrpcRouteRequest.Builder mergeFrom(CreateGrpcRouteRequest other)
public CreateGrpcRouteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGrpcRouteRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGrpcRoute(GrpcRoute value)
public CreateGrpcRouteRequest.Builder mergeGrpcRoute(GrpcRoute value)
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGrpcRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGrpcRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGrpcRoute(GrpcRoute value)
public CreateGrpcRouteRequest.Builder setGrpcRoute(GrpcRoute value)
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
setGrpcRoute(GrpcRoute.Builder builderForValue)
public CreateGrpcRouteRequest.Builder setGrpcRoute(GrpcRoute.Builder builderForValue)
Required. GrpcRoute resource to be created.
.google.cloud.networkservices.v1.GrpcRoute grpc_route = 3 [(.google.api.field_behavior) = REQUIRED];
setGrpcRouteId(String value)
public CreateGrpcRouteRequest.Builder setGrpcRouteId(String value)
Required. Short name of the GrpcRoute resource to be created.
string grpc_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The grpcRouteId to set.
|
setGrpcRouteIdBytes(ByteString value)
public CreateGrpcRouteRequest.Builder setGrpcRouteIdBytes(ByteString value)
Required. Short name of the GrpcRoute resource to be created.
string grpc_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for grpcRouteId to set.
|
setParent(String value)
public CreateGrpcRouteRequest.Builder setParent(String value)
Required. The parent resource of the GrpcRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateGrpcRouteRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the GrpcRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGrpcRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGrpcRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides