public static final class UnitDependency.Builder extends GeneratedMessage.Builder<UnitDependency.Builder> implements UnitDependencyOrBuilderSet of dependencies for this unit. Maximum 10.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UnitDependency.BuilderImplements
UnitDependencyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UnitDependency build()| Returns | |
|---|---|
| Type | Description |
UnitDependency |
|
buildPartial()
public UnitDependency buildPartial()| Returns | |
|---|---|
| Type | Description |
UnitDependency |
|
clear()
public UnitDependency.Builder clear()| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
|
clearAlias()
public UnitDependency.Builder clearAlias()Output only. Alias for the name of the dependency.
string alias = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |
clearUnit()
public UnitDependency.Builder clearUnit()Output only. A reference to the Unit object.
string unit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |
getAlias()
public String getAlias()Output only. Alias for the name of the dependency.
string alias = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The alias. |
getAliasBytes()
public ByteString getAliasBytes()Output only. Alias for the name of the dependency.
string alias = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alias. |
getDefaultInstanceForType()
public UnitDependency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UnitDependency |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUnit()
public String getUnit()Output only. A reference to the Unit object.
string unit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The unit. |
getUnitBytes()
public ByteString getUnitBytes()Output only. A reference to the Unit object.
string unit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UnitDependency other)
public UnitDependency.Builder mergeFrom(UnitDependency other)| Parameter | |
|---|---|
| Name | Description |
other |
UnitDependency |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UnitDependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UnitDependency.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
|
setAlias(String value)
public UnitDependency.Builder setAlias(String value)Output only. Alias for the name of the dependency.
string alias = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alias to set. |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |
setAliasBytes(ByteString value)
public UnitDependency.Builder setAliasBytes(ByteString value)Output only. Alias for the name of the dependency.
string alias = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alias to set. |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |
setUnit(String value)
public UnitDependency.Builder setUnit(String value)Output only. A reference to the Unit object.
string unit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unit to set. |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |
setUnitBytes(ByteString value)
public UnitDependency.Builder setUnitBytes(ByteString value)Output only. A reference to the Unit object.
string unit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unit to set. |
| Returns | |
|---|---|
| Type | Description |
UnitDependency.Builder |
This builder for chaining. |