id stringlengths 7 14 | text stringlengths 1 106k |
|---|---|
4889980_0 | public static ValidatorMandatory getInstance() {
return INSTANCE;
} |
4889980_1 | public static ValidatorMandatory getInstance() {
return INSTANCE;
} |
4889980_2 | public static ValidatorMandatory getInstance() {
return INSTANCE;
} |
4889980_3 | public static ValidatorMandatory getInstance() {
return INSTANCE;
} |
4889980_4 | public static ValidatorMandatory getInstance() {
return INSTANCE;
} |
4889980_5 | public ValidatorJsr303(Validator validator, Class<V> pojoType) {
this(validator, pojoType, (String) null);
} |
4889980_6 | public T loadXml(InputStream inputStream, Object source) {
try {
Object unmarshalledObject = getOrCreateUnmarshaller().unmarshal(inputStream);
T jaxbBean = this.xmlBeanClass.cast(unmarshalledObject);
validate(jaxbBean);
return jaxbBean;
} catch (JAXBException e) {
throw new XmlInvalidException(e... |
4889980_7 | public void chmod(String chmod) {
CharSequenceScanner parse = new CharSequenceScanner(chmod);
if (!parse.hasNext()) {
throw new IllegalArgumentException();
}
int mask = this.maskBits;
try {
int octal = parseOctalMode(parse);
if (octal == -1) {
// no digits are available in parse...
whi... |
4889980_8 | @Override
public String toString() {
String result = Integer.toString(this.maskBits, 8);
int len = result.length();
if (len == 1) {
result = "000" + result;
} else if (len == 2) {
result = "00" + result;
} else if (len == 3) {
result = "0" + result;
}
return result;
} |
4889980_9 | public String getName() {
return this.name;
} |
489859_10 | public GetOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
getRanges().add(String.format("%d-%d", start, end));
return this;
} |
489859_11 | public GetOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
getRanges().add(String.format("%d-%d", start, end));
return this;
} |
489859_12 | public GetOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
getRanges().add(String.format("%d-%d", start, end));
return this;
} |
489859_13 | public GetOptions ifETagMatches(String eTag) {
checkArgument(getIfNoneMatch() == null, "ifETagDoesntMatch() is not compatible with ifETagMatches()");
checkArgument(getIfModifiedSince() == null, "ifModifiedSince() is not compatible with ifETagMatches()");
this.ifMatch = checkNotNull(eTag, "eTag");
return thi... |
489859_14 | public String getIfMatch() {
return this.ifMatch;
} |
489859_15 | public GetOptions ifETagMatches(String eTag) {
checkArgument(getIfNoneMatch() == null, "ifETagDoesntMatch() is not compatible with ifETagMatches()");
checkArgument(getIfModifiedSince() == null, "ifModifiedSince() is not compatible with ifETagMatches()");
this.ifMatch = checkNotNull(eTag, "eTag");
return thi... |
489859_16 | public GetOptions ifETagDoesntMatch(String eTag) {
checkArgument(getIfMatch() == null, "ifETagMatches() is not compatible with ifETagDoesntMatch()");
checkArgument(getIfUnmodifiedSince() == null, "ifUnmodifiedSince() is not compatible with ifETagDoesntMatch()");
this.ifNoneMatch = checkNotNull(eTag, "eTag");
... |
489859_17 | public String getIfNoneMatch() {
return this.ifNoneMatch;
} |
489859_18 | public GetOptions ifETagDoesntMatch(String eTag) {
checkArgument(getIfMatch() == null, "ifETagMatches() is not compatible with ifETagDoesntMatch()");
checkArgument(getIfUnmodifiedSince() == null, "ifUnmodifiedSince() is not compatible with ifETagDoesntMatch()");
this.ifNoneMatch = checkNotNull(eTag, "eTag");
... |
489859_19 | public String getMarker() {
return marker;
} |
489859_20 | public ListOptions afterMarker(String marker) {
this.marker = checkNotNull(marker, "marker");
return this;
} |
489859_21 | public ListOptions maxResults(int maxKeys) {
checkArgument(maxKeys >= 0, "maxKeys must be >= 0");
this.maxKeys = maxKeys;
return this;
} |
489859_22 | public Integer getMaxResults() {
return maxKeys;
} |
489859_23 | public ListOptions maxResults(int maxKeys) {
checkArgument(maxKeys >= 0, "maxKeys must be >= 0");
this.maxKeys = maxKeys;
return this;
} |
489859_24 | @Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this binder is only valid for Blobs!");
checkNotNull(request, "request");
Blob blob = Blob.class.cast(input);
Part part = Part.create(blob.getMetadata().getName(),... |
489859_25 | @Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this binder is only valid for Blobs!");
checkNotNull(request, "request");
Blob blob = Blob.class.cast(input);
Part part = Part.create(blob.getMetadata().getName(),... |
489859_26 | @SuppressWarnings("unchecked")
@Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map<?,?>, "this binder is only valid for Maps!");
checkNotNull(request, "request");
Map<String, String> userMetadata = Maps2.transformKeys((Ma... |
489859_27 | @SuppressWarnings("unchecked")
@Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map<?,?>, "this binder is only valid for Maps!");
checkNotNull(request, "request");
Map<String, String> userMetadata = Maps2.transformKeys((Ma... |
489859_28 | @SuppressWarnings("unchecked")
@Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map<?,?>, "this binder is only valid for Maps!");
checkNotNull(request, "request");
Map<String, String> userMetadata = Maps2.transformKeys((Ma... |
489859_29 | @Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this binder is only valid for Blobs!");
checkNotNull(request, "request");
return metadataPrefixer.bindToRequest(request, Blob.class.cast(input).getMetadata().getUserM... |
489859_30 | @Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this binder is only valid for Blobs!");
checkNotNull(request, "request");
return metadataPrefixer.bindToRequest(request, Blob.class.cast(input).getMetadata().getUserM... |
489859_31 | @Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this binder is only valid for Blobs!");
checkNotNull(request, "request");
return metadataPrefixer.bindToRequest(request, Blob.class.cast(input).getMetadata().getUserM... |
489859_32 | @Beta
public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container,
ListContainerOptions containerOptions) {
return listAll(blobStore, container, containerOptions, ListAllOptions.NONE);
} |
489859_33 | @Beta
public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container,
ListContainerOptions containerOptions) {
return listAll(blobStore, container, containerOptions, ListAllOptions.NONE);
} |
489859_34 | @Beta
public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container,
ListContainerOptions containerOptions) {
return listAll(blobStore, container, containerOptions, ListAllOptions.NONE);
} |
489859_35 | @Beta
public static Iterable<StorageMetadata> listAll(BlobStore blobStore, String container,
ListContainerOptions containerOptions) {
return listAll(blobStore, container, containerOptions, ListAllOptions.NONE);
} |
489859_36 | public StorageMetadata apply(StorageMetadata md) {
checkNotNull(md, "metadata");
String name = checkNotNull(md.getName(), "metadata.name");
for (String suffix : BlobStoreConstants.DIRECTORY_SUFFIXES) {
if (name.endsWith(suffix))
name = name.substring(0, name.length() - suffix.length());
}
... |
489859_37 | public StorageMetadata apply(StorageMetadata md) {
checkNotNull(md, "metadata");
String name = checkNotNull(md.getName(), "metadata.name");
for (String suffix : BlobStoreConstants.DIRECTORY_SUFFIXES) {
if (name.endsWith(suffix))
name = name.substring(0, name.length() - suffix.length());
}
... |
489859_38 | public StorageMetadata apply(StorageMetadata md) {
checkNotNull(md, "metadata");
String name = checkNotNull(md.getName(), "metadata.name");
for (String suffix : BlobStoreConstants.DIRECTORY_SUFFIXES) {
if (name.endsWith(suffix))
name = name.substring(0, name.length() - suffix.length());
}
... |
489859_39 | public Blob apply(HttpResponse from) {
checkNotNull(from, "request");
MutableBlobMetadata metadata = metadataParser.apply(from);
Blob blob = blobFactory.create(metadata);
blob.getAllHeaders().putAll(from.getHeaders());
blob.setPayload(from.getPayload());
return blob;
} |
489859_40 | public Blob apply(HttpResponse from) {
checkNotNull(from, "request");
MutableBlobMetadata metadata = metadataParser.apply(from);
Blob blob = blobFactory.create(metadata);
blob.getAllHeaders().putAll(from.getHeaders());
blob.setPayload(from.getPayload());
return blob;
} |
489859_41 | public MutableBlobMetadata apply(HttpResponse from) {
checkNotNull(from, "request");
checkState(name != null, "name must be initialized by now");
MutableBlobMetadata to = metadataFactory.get();
to.setName(name);
to.setUri(endpoint);
if (from.getPayload() != null)
HttpUtils.copy(from.getPayload()... |
489859_42 | public MutableBlobMetadata apply(HttpResponse from) {
checkNotNull(from, "request");
checkState(name != null, "name must be initialized by now");
MutableBlobMetadata to = metadataFactory.get();
to.setName(name);
to.setUri(endpoint);
if (from.getPayload() != null)
HttpUtils.copy(from.getPayload()... |
489859_43 | @VisibleForTesting
void parseLastModifiedOrThrowException(HttpResponse from, MutableBlobMetadata metadata) throws HttpException {
String lastModified = from.getFirstHeaderOrNull(HttpHeaders.LAST_MODIFIED);
if (lastModified == null) {
// scaleup-storage uses the wrong case for the last modified header
... |
489859_44 | @VisibleForTesting
void parseLastModifiedOrThrowException(HttpResponse from, MutableBlobMetadata metadata) throws HttpException {
String lastModified = from.getFirstHeaderOrNull(HttpHeaders.LAST_MODIFIED);
if (lastModified == null) {
// scaleup-storage uses the wrong case for the last modified header
... |
489859_45 | @VisibleForTesting
void parseLastModifiedOrThrowException(HttpResponse from, MutableBlobMetadata metadata) throws HttpException {
String lastModified = from.getFirstHeaderOrNull(HttpHeaders.LAST_MODIFIED);
if (lastModified == null) {
// scaleup-storage uses the wrong case for the last modified header
... |
489859_46 | protected void addETagTo(HttpResponse from, MutableBlobMetadata metadata) {
String eTag = from.getFirstHeaderOrNull(HttpHeaders.ETAG);
if (metadata.getETag() == null && eTag != null) {
metadata.setETag(eTag);
}
} |
489859_47 | @VisibleForTesting
void addUserMetadataTo(HttpResponse from, MutableBlobMetadata metadata) {
for (Entry<String, String> header : from.getHeaders().entries()) {
if (header.getKey() != null && header.getKey().startsWith(metadataPrefix))
metadata.getUserMetadata().put((header.getKey().substring(metadataP... |
489859_48 | public StorageMetadata apply(String from) {
checkNotNull(from, "prefix");
MutableStorageMetadata returnVal = new MutableStorageMetadataImpl();
returnVal.setType(StorageType.RELATIVE_PATH);
returnVal.setName(from);
return returnVal;
} |
489859_49 | public StorageMetadata apply(String from) {
checkNotNull(from, "prefix");
MutableStorageMetadata returnVal = new MutableStorageMetadataImpl();
returnVal.setType(StorageType.RELATIVE_PATH);
returnVal.setName(from);
return returnVal;
} |
489859_50 | public byte[] apply(Object from) {
checkNotNull(from, "thing to md5");
PayloadEnclosing payloadEnclosing;
if (from instanceof PayloadEnclosing) {
payloadEnclosing = (PayloadEnclosing) from;
} else {
payloadEnclosing = HttpMessage.builder().payload(Payloads.newPayload(from)).build();
}
if (... |
489859_51 | public byte[] apply(Object from) {
checkNotNull(from, "thing to md5");
PayloadEnclosing payloadEnclosing;
if (from instanceof PayloadEnclosing) {
payloadEnclosing = (PayloadEnclosing) from;
} else {
payloadEnclosing = HttpMessage.builder().payload(Payloads.newPayload(from)).build();
}
if (... |
489859_52 | public byte[] apply(Object from) {
checkNotNull(from, "thing to md5");
PayloadEnclosing payloadEnclosing;
if (from instanceof PayloadEnclosing) {
payloadEnclosing = (PayloadEnclosing) from;
} else {
payloadEnclosing = HttpMessage.builder().payload(Payloads.newPayload(from)).build();
}
if (... |
489859_53 | public byte[] apply(Object from) {
checkNotNull(from, "thing to md5");
PayloadEnclosing payloadEnclosing;
if (from instanceof PayloadEnclosing) {
payloadEnclosing = (PayloadEnclosing) from;
} else {
payloadEnclosing = HttpMessage.builder().payload(Payloads.newPayload(from)).build();
}
if (... |
489859_54 | public String apply(Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this function is only valid for Blobs!");
return checkNotNull(Blob.class.cast(input).getMetadata().getName(), "blobName");
} |
489859_55 | public String apply(Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this function is only valid for Blobs!");
return checkNotNull(Blob.class.cast(input).getMetadata().getName(), "blobName");
} |
489859_56 | public String apply(Object input) {
checkArgument(checkNotNull(input, "input") instanceof Blob, "this function is only valid for Blobs!");
return checkNotNull(Blob.class.cast(input).getMetadata().getName(), "blobName");
} |
489859_57 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_58 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_59 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_60 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_61 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_62 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_63 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_64 | @Override
public GetOptions apply(org.jclouds.blobstore.options.GetOptions from) {
checkNotNull(from, "options");
if (from == org.jclouds.blobstore.options.GetOptions.NONE)
return GetOptions.NONE;
GetOptions httpOptions = new GetOptions();
if (from.getIfMatch() != null) {
httpOptions.ifETagMatch... |
489859_65 | public PutBlockOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
range = String.format("bytes %d-%d/*", start, end);
return this;
} |
489859_66 | public String getRange() {
return range;
} |
489859_67 | public PutBlockOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
range = String.format("bytes %d-%d/*", start, end);
return this;
} |
489859_68 | public PutBlockOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
range = String.format("bytes %d-%d/*", start, end);
return this;
} |
489859_69 | public PutBlockOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
range = String.format("bytes %d-%d/*", start, end);
return this;
} |
489859_70 | public PutBlockOptions range(long start, long end) {
checkArgument(start >= 0, "start must be >= 0");
checkArgument(end >= 0, "end must be >= 0");
range = String.format("bytes %d-%d/*", start, end);
return this;
} |
489859_71 | public ListDomainsOptions nextToken(String nextToken) {
checkNotNull(nextToken, "nextToken");
formParameters.put("NextToken", nextToken);
return this;
} |
489859_72 | public ListDomainsOptions nextToken(String nextToken) {
checkNotNull(nextToken, "nextToken");
formParameters.put("NextToken", nextToken);
return this;
} |
489859_73 | public ListDomainsOptions maxNumberOfDomains(int maxNumberOfDomains) {
checkArgument(maxNumberOfDomains > 0 && maxNumberOfDomains <= 100, "must be between 1-100");
formParameters.put("MaxNumberOfDomains", maxNumberOfDomains + "");
return this;
} |
489859_74 | public ListDomainsOptions maxNumberOfDomains(int maxNumberOfDomains) {
checkArgument(maxNumberOfDomains > 0 && maxNumberOfDomains <= 100, "must be between 1-100");
formParameters.put("MaxNumberOfDomains", maxNumberOfDomains + "");
return this;
} |
489859_75 | @SuppressWarnings("unchecked")
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map, "this binder is only valid for Maps!");
Map<String, String> userMetadata = (Map<String, String>) input;
List<String> metadata = Lists.newArrayList(... |
489859_76 | @SuppressWarnings("unchecked")
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map, "this binder is only valid for Maps!");
Map<String, String> userMetadata = (Map<String, String>) input;
List<String> metadata = Lists.newArrayList(... |
489859_77 | @SuppressWarnings("unchecked")
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(checkNotNull(input, "input") instanceof Map, "this binder is only valid for Maps!");
Map<String, String> userMetadata = (Map<String, String>) input;
List<String> metadata = Lists.newArrayList(... |
489859_78 | public final String rfc822DateFormat(Date dateTime) {
return rfc822DateFormatter.print(new DateTime(dateTime));
} |
489859_79 | public final Date rfc822DateParse(String toParse) {
return rfc822DateFormatter.parseDateTime(toParse).toDate();
} |
489859_80 | @VisibleForTesting
SshException propagate(Exception e, String message) {
message += ": " + e.getMessage();
logger.error(e, "<< " + message);
if (e instanceof UserAuthException)
throw new AuthorizationException("(" + toString() + ") " + message, e);
throw e instanceof SshException ? SshException.class.... |
489859_81 | @Override
public HttpResponse apply(HTTPResponse gaeResponse) {
Payload payload = gaeResponse.getContent() != null ? Payloads.newByteArrayPayload(gaeResponse.getContent())
: null;
Multimap<String, String> headers = LinkedHashMultimap.create();
String message = null;
for (HTTPHeader header : gaeResp... |
489859_82 | @Override
public HttpResponse apply(HTTPResponse gaeResponse) {
Payload payload = gaeResponse.getContent() != null ? Payloads.newByteArrayPayload(gaeResponse.getContent())
: null;
Multimap<String, String> headers = LinkedHashMultimap.create();
String message = null;
for (HTTPHeader header : gaeResp... |
489859_83 | @Override
public HTTPRequest apply(HttpRequest request) {
URL url = null;
try {
url = request.getEndpoint().toURL();
} catch (MalformedURLException e) {
Throwables.propagate(e);
}
FetchOptions options = disallowTruncate();
options.doNotFollowRedirects();
if (utils.relaxHostname() || uti... |
489859_84 | @Override
public HTTPRequest apply(HttpRequest request) {
URL url = null;
try {
url = request.getEndpoint().toURL();
} catch (MalformedURLException e) {
Throwables.propagate(e);
}
FetchOptions options = disallowTruncate();
options.doNotFollowRedirects();
if (utils.relaxHostname() || uti... |
489859_85 | @Override
public HTTPRequest apply(HttpRequest request) {
URL url = null;
try {
url = request.getEndpoint().toURL();
} catch (MalformedURLException e) {
Throwables.propagate(e);
}
FetchOptions options = disallowTruncate();
options.doNotFollowRedirects();
if (utils.relaxHostname() || uti... |
489859_86 | @Override
public HTTPRequest apply(HttpRequest request) {
URL url = null;
try {
url = request.getEndpoint().toURL();
} catch (MalformedURLException e) {
Throwables.propagate(e);
}
FetchOptions options = disallowTruncate();
options.doNotFollowRedirects();
if (utils.relaxHostname() || uti... |
489859_87 | @Override
public HTTPRequest apply(HttpRequest request) {
URL url = null;
try {
url = request.getEndpoint().toURL();
} catch (MalformedURLException e) {
Throwables.propagate(e);
}
FetchOptions options = disallowTruncate();
options.doNotFollowRedirects();
if (utils.relaxHostname() || uti... |
489859_88 | SshException propagate(Exception e, String message) {
message += ": " + e.getMessage();
if (e.getMessage() != null && e.getMessage().indexOf("Auth fail") != -1)
throw new AuthorizationException("(" + toString() + ") " + message, e);
throw e instanceof SshException ? SshException.class.cast(e) : new SshEx... |
489859_89 | @Override
public void handleError(HttpCommand command, HttpResponse response) {
try {
// it is important to always read fully and close streams
byte[] data = closeClientButKeepContentStream(response);
String message = data != null ? new String(data) : null;
Exception exception = message != nu... |
489859_90 | public SaveImageOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY), "Can't have duplicate image description");
queryParameters.put(DESCRIPTION_KEY, description);
... |
489859_91 | public SaveImageOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY), "Can't have duplicate image description");
queryParameters.put(DESCRIPTION_KEY, description);
... |
489859_92 | public SaveImageOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY), "Can't have duplicate image description");
queryParameters.put(DESCRIPTION_KEY, description);
... |
489859_93 | public SaveImageOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY), "Can't have duplicate image description");
queryParameters.put(DESCRIPTION_KEY, description);
... |
489859_94 | public SaveImageOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY), "Can't have duplicate image description");
queryParameters.put(DESCRIPTION_KEY, description);
... |
489859_95 | public AddServerOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY),
"Can't have duplicate server description");
queryParameters.put(DESCRIPTION_KEY, de... |
489859_96 | public AddServerOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY),
"Can't have duplicate server description");
queryParameters.put(DESCRIPTION_KEY, de... |
489859_97 | public AddServerOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY),
"Can't have duplicate server description");
queryParameters.put(DESCRIPTION_KEY, de... |
489859_98 | public AddServerOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY),
"Can't have duplicate server description");
queryParameters.put(DESCRIPTION_KEY, de... |
489859_99 | public AddServerOptions withDescription(String description) {
checkArgument(description.length() <= 500, "Description cannot be longer than 500 characters");
checkState(!queryParameters.containsKey(DESCRIPTION_KEY),
"Can't have duplicate server description");
queryParameters.put(DESCRIPTION_KEY, de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.