public static final class ReplaceArtifactRequest.Builder extends GeneratedMessageV3.Builder<ReplaceArtifactRequest.Builder> implements ReplaceArtifactRequestOrBuilder
Request message for ReplaceArtifact.
Protobuf type google.cloud.apigeeregistry.v1.ReplaceArtifactRequest
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 ReplaceArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReplaceArtifactRequest build()
buildPartial()
public ReplaceArtifactRequest buildPartial()
clear()
public ReplaceArtifactRequest.Builder clear()
Overrides
clearArtifact()
public ReplaceArtifactRequest.Builder clearArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ReplaceArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReplaceArtifactRequest.Builder clone()
Overrides
getArtifact()
public Artifact getArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Artifact | The artifact.
|
getArtifactBuilder()
public Artifact.Builder getArtifactBuilder()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
getArtifactOrBuilder()
public ArtifactOrBuilder getArtifactOrBuilder()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public ReplaceArtifactRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasArtifact()
public boolean hasArtifact()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the artifact field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeArtifact(Artifact value)
public ReplaceArtifactRequest.Builder mergeArtifact(Artifact value)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(ReplaceArtifactRequest other)
public ReplaceArtifactRequest.Builder mergeFrom(ReplaceArtifactRequest other)
public ReplaceArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplaceArtifactRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setArtifact(Artifact value)
public ReplaceArtifactRequest.Builder setArtifact(Artifact value)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
setArtifact(Artifact.Builder builderForValue)
public ReplaceArtifactRequest.Builder setArtifact(Artifact.Builder builderForValue)
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides