public static final class Dependency.Builder extends GeneratedMessage.Builder<Dependency.Builder> implements DependencyOrBuilderDependency represent a single dependency with another unit kind by alias.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Dependency.BuilderImplements
DependencyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Dependency build()| Returns | |
|---|---|
| Type | Description |
Dependency |
|
buildPartial()
public Dependency buildPartial()| Returns | |
|---|---|
| Type | Description |
Dependency |
|
clear()
public Dependency.Builder clear()| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
|
clearAlias()
public Dependency.Builder clearAlias()Required. An alias for the dependency. Used for input variable mapping.
string alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |
clearUnitKind()
public Dependency.Builder clearUnitKind()Required. Immutable. The unit kind of the dependency.
string unit_kind = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |
getAlias()
public String getAlias()Required. An alias for the dependency. Used for input variable mapping.
string alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The alias. |
getAliasBytes()
public ByteString getAliasBytes()Required. An alias for the dependency. Used for input variable mapping.
string alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alias. |
getDefaultInstanceForType()
public Dependency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Dependency |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUnitKind()
public String getUnitKind()Required. Immutable. The unit kind of the dependency.
string unit_kind = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The unitKind. |
getUnitKindBytes()
public ByteString getUnitKindBytes()Required. Immutable. The unit kind of the dependency.
string unit_kind = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unitKind. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Dependency other)
public Dependency.Builder mergeFrom(Dependency other)| Parameter | |
|---|---|
| Name | Description |
other |
Dependency |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Dependency.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
|
setAlias(String value)
public Dependency.Builder setAlias(String value)Required. An alias for the dependency. Used for input variable mapping.
string alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alias to set. |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |
setAliasBytes(ByteString value)
public Dependency.Builder setAliasBytes(ByteString value)Required. An alias for the dependency. Used for input variable mapping.
string alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alias to set. |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |
setUnitKind(String value)
public Dependency.Builder setUnitKind(String value)Required. Immutable. The unit kind of the dependency.
string unit_kind = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unitKind to set. |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |
setUnitKindBytes(ByteString value)
public Dependency.Builder setUnitKindBytes(ByteString value)Required. Immutable. The unit kind of the dependency.
string unit_kind = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unitKind to set. |
| Returns | |
|---|---|
| Type | Description |
Dependency.Builder |
This builder for chaining. |