public static final class CreateServiceBindingRequest.Builder extends GeneratedMessageV3.Builder<CreateServiceBindingRequest.Builder> implements CreateServiceBindingRequestOrBuilder
Request used by the ServiceBinding method.
Protobuf type google.cloud.networkservices.v1.CreateServiceBindingRequest
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 CreateServiceBindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateServiceBindingRequest build()
buildPartial()
public CreateServiceBindingRequest buildPartial()
clear()
public CreateServiceBindingRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateServiceBindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateServiceBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateServiceBindingRequest.Builder clearParent()
Required. The parent resource of the ServiceBinding. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearServiceBinding()
public CreateServiceBindingRequest.Builder clearServiceBinding()
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
clearServiceBindingId()
public CreateServiceBindingRequest.Builder clearServiceBindingId()
Required. Short name of the ServiceBinding resource to be created.
string service_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateServiceBindingRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateServiceBindingRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource of the ServiceBinding. 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 ServiceBinding. 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.
|
getServiceBinding()
public ServiceBinding getServiceBinding()
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
getServiceBindingBuilder()
public ServiceBinding.Builder getServiceBindingBuilder()
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
getServiceBindingId()
public String getServiceBindingId()
Required. Short name of the ServiceBinding resource to be created.
string service_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The serviceBindingId.
|
getServiceBindingIdBytes()
public ByteString getServiceBindingIdBytes()
Required. Short name of the ServiceBinding resource to be created.
string service_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for serviceBindingId.
|
getServiceBindingOrBuilder()
public ServiceBindingOrBuilder getServiceBindingOrBuilder()
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
hasServiceBinding()
public boolean hasServiceBinding()
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the serviceBinding field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateServiceBindingRequest other)
public CreateServiceBindingRequest.Builder mergeFrom(CreateServiceBindingRequest other)
public CreateServiceBindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateServiceBindingRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeServiceBinding(ServiceBinding value)
public CreateServiceBindingRequest.Builder mergeServiceBinding(ServiceBinding value)
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateServiceBindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateServiceBindingRequest.Builder setParent(String value)
Required. The parent resource of the ServiceBinding. 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 CreateServiceBindingRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the ServiceBinding. 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 CreateServiceBindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServiceBinding(ServiceBinding value)
public CreateServiceBindingRequest.Builder setServiceBinding(ServiceBinding value)
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
setServiceBinding(ServiceBinding.Builder builderForValue)
public CreateServiceBindingRequest.Builder setServiceBinding(ServiceBinding.Builder builderForValue)
Required. ServiceBinding resource to be created.
.google.cloud.networkservices.v1.ServiceBinding service_binding = 3 [(.google.api.field_behavior) = REQUIRED];
setServiceBindingId(String value)
public CreateServiceBindingRequest.Builder setServiceBindingId(String value)
Required. Short name of the ServiceBinding resource to be created.
string service_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The serviceBindingId to set.
|
setServiceBindingIdBytes(ByteString value)
public CreateServiceBindingRequest.Builder setServiceBindingIdBytes(ByteString value)
Required. Short name of the ServiceBinding resource to be created.
string service_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for serviceBindingId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceBindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides