public static final class CreateHttpRouteRequest.Builder extends GeneratedMessageV3.Builder<CreateHttpRouteRequest.Builder> implements CreateHttpRouteRequestOrBuilder
Request used by the HttpRoute method.
Protobuf type google.cloud.networkservices.v1.CreateHttpRouteRequest
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 CreateHttpRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateHttpRouteRequest build()
buildPartial()
public CreateHttpRouteRequest buildPartial()
clear()
public CreateHttpRouteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateHttpRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHttpRoute()
public CreateHttpRouteRequest.Builder clearHttpRoute()
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
clearHttpRouteId()
public CreateHttpRouteRequest.Builder clearHttpRouteId()
Required. Short name of the HttpRoute resource to be created.
string http_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateHttpRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateHttpRouteRequest.Builder clearParent()
Required. The parent resource of the HttpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateHttpRouteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateHttpRouteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHttpRoute()
public HttpRoute getHttpRoute()
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
HttpRoute |
The httpRoute.
|
getHttpRouteBuilder()
public HttpRoute.Builder getHttpRouteBuilder()
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
getHttpRouteId()
public String getHttpRouteId()
Required. Short name of the HttpRoute resource to be created.
string http_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The httpRouteId.
|
getHttpRouteIdBytes()
public ByteString getHttpRouteIdBytes()
Required. Short name of the HttpRoute resource to be created.
string http_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for httpRouteId.
|
getHttpRouteOrBuilder()
public HttpRouteOrBuilder getHttpRouteOrBuilder()
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The parent resource of the HttpRoute. 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 HttpRoute. 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.
|
hasHttpRoute()
public boolean hasHttpRoute()
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the httpRoute field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateHttpRouteRequest other)
public CreateHttpRouteRequest.Builder mergeFrom(CreateHttpRouteRequest other)
public CreateHttpRouteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateHttpRouteRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeHttpRoute(HttpRoute value)
public CreateHttpRouteRequest.Builder mergeHttpRoute(HttpRoute value)
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateHttpRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateHttpRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHttpRoute(HttpRoute value)
public CreateHttpRouteRequest.Builder setHttpRoute(HttpRoute value)
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
setHttpRoute(HttpRoute.Builder builderForValue)
public CreateHttpRouteRequest.Builder setHttpRoute(HttpRoute.Builder builderForValue)
Required. HttpRoute resource to be created.
.google.cloud.networkservices.v1.HttpRoute http_route = 3 [(.google.api.field_behavior) = REQUIRED];
setHttpRouteId(String value)
public CreateHttpRouteRequest.Builder setHttpRouteId(String value)
Required. Short name of the HttpRoute resource to be created.
string http_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The httpRouteId to set.
|
setHttpRouteIdBytes(ByteString value)
public CreateHttpRouteRequest.Builder setHttpRouteIdBytes(ByteString value)
Required. Short name of the HttpRoute resource to be created.
string http_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for httpRouteId to set.
|
setParent(String value)
public CreateHttpRouteRequest.Builder setParent(String value)
Required. The parent resource of the HttpRoute. 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 CreateHttpRouteRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the HttpRoute. 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 CreateHttpRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateHttpRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides