public static final class FetchReadWriteTokenRequest.Builder extends GeneratedMessageV3.Builder<FetchReadWriteTokenRequest.Builder> implements FetchReadWriteTokenRequestOrBuilder
Message for fetching SCM read/write token.
Protobuf type google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public FetchReadWriteTokenRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenRequest build()
Returns
public FetchReadWriteTokenRequest buildPartial()
Returns
public FetchReadWriteTokenRequest.Builder clear()
Returns
Overrides
public FetchReadWriteTokenRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FetchReadWriteTokenRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FetchReadWriteTokenRequest.Builder clearRepository()
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public FetchReadWriteTokenRequest.Builder clone()
Returns
Overrides
public FetchReadWriteTokenRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getRepository()
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The repository.
|
public ByteString getRepositoryBytes()
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for repository.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FetchReadWriteTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FetchReadWriteTokenRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FetchReadWriteTokenRequest.Builder mergeFrom(FetchReadWriteTokenRequest other)
Parameter
Returns
public final FetchReadWriteTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public FetchReadWriteTokenRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenRequest.Builder setRepository(String value)
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The repository to set.
|
Returns
public FetchReadWriteTokenRequest.Builder setRepositoryBytes(ByteString value)
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for repository to set.
|
Returns
public final FetchReadWriteTokenRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides